public abstract class GenericHandler extends Object implements Handler
Modifier | Constructor and Description |
---|---|
protected |
GenericHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
The destroy method indicates the end of lifecycle for a Handler instance.
|
abstract QName[] |
getHeaders()
Gets the header blocks processed by this Handler instance.
|
boolean |
handleFault(MessageContext msgContext)
The handleFault method processes the SOAP faults based on the SOAP message processing model.
|
boolean |
handleRequest(MessageContext msgContext)
The handleRequest method processes the request SOAP message.
|
boolean |
handleResponse(MessageContext msgContext)
The handleResponse method processes the response message.
|
void |
init(HandlerInfo config)
The init method to enable the Handler instance to initialize itself.
|
public abstract QName[] getHeaders()
getHeaders
in interface Handler
public void init(HandlerInfo config)
public void destroy()
public boolean handleRequest(MessageContext msgContext)
handleRequest
in interface Handler
msgContext
- the message msgContextpublic boolean handleResponse(MessageContext msgContext)
handleResponse
in interface Handler
msgContext
- the message msgContextpublic boolean handleFault(MessageContext msgContext)
handleFault
in interface Handler
msgContext
- the message msgContextCopyright © 2017 JBoss by Red Hat. All rights reserved.