javax.xml.rpc.handler.GenericHandler class
implements the Handler interface. SOAP Message
Handler developers should typically subclass
GenericHandler class unless the Handler class
needs another class as a superclass.
The GenericHandler class is a convenience abstract
class that makes writing Handlers easy. This class provides
default implementations of the lifecycle methods init
and destroy and also different handle methods.
A Handler developer should only override methods that it needs
to specialize as part of the derived Handler
implementation class.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Implements javax. destroy method indicates the end of lifecycle
for a Handler instance.
|
| public abstract QName[] | Returns: Array of QNames of header blocks processed by this handler instance.QName is the qualified
name of the outermost element of the Header block.Redeclares javax. |
| public boolean | handleFault(MessageContext
MessageContext parameter provides access to
the SOAP message context)Implements javax. handleFault method processes the SOAP faults
based on the SOAP message processing model.
|
| public boolean | handleRequest(MessageContext
MessageContext parameter provides
access to the request message.Implements javax. handleRequest method processes the request
SOAP message.
|
| public boolean | handleResponse(MessageContext
MessageContext parameter provides access to
the response SOAP message context)Implements javax. handleResponse method processes the response
message.
|
| public void | init(HandlerInfo
Configuration for the initialization of
this handler config)Implements javax. init method to enable the Handler instance to
initialize itself.
|
| GenericHandler | back to summary |
|---|---|
| protected GenericHandler() Default constructor | |
| destroy | back to summary |
|---|---|
| public void destroy() Implements javax. The | |
| getHeaders | back to summary |
|---|---|
| public abstract QName[] getHeaders() Redeclares javax. Gets the header blocks processed by this Handler instance.
| |
| handleFault | back to summary |
|---|---|
| public boolean handleFault(MessageContext context) Implements javax. The
| |
| handleRequest | back to summary |
|---|---|
| public boolean handleRequest(MessageContext context) Implements javax. The
| |
| handleResponse | back to summary |
|---|---|
| public boolean handleResponse(MessageContext context) Implements javax. The
| |
| init | back to summary |
|---|---|
| public void init(HandlerInfo config) Implements javax. The
| |