|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.rpc.handler.GenericHandler
The 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.
| Constructor Summary | |
protected |
GenericHandler()
Default constructor. |
| Method Summary | |
void |
destroy()
The destroy method indicates the end of lifecycle for a Handler instance. |
abstract QName (src) [] |
getHeaders()
Gets the header blocks processed by this Handler instance. |
boolean |
handleFault(MessageContext (src) msgContext)
The handleFault method processes the SOAP faults based on the SOAP message processing model. |
boolean |
handleRequest(MessageContext (src) msgContext)
The handleRequest method processes the request SOAP message. |
boolean |
handleResponse(MessageContext (src) msgContext)
The handleResponse method processes the response message. |
void |
init(HandlerInfo (src) config)
The init method to enable the Handler instance to initialize itself. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected GenericHandler()
| Method Detail |
public abstract QName (src) [] getHeaders()
getHeaders in interface Handler (src) public void init(HandlerInfo (src) config)
init in interface Handler (src) config - handler configurationpublic void destroy()
destroy in interface Handler (src) public boolean handleRequest(MessageContext (src) msgContext)
handleRequest in interface Handler (src) msgContext - the message msgContext
public boolean handleResponse(MessageContext (src) msgContext)
handleResponse in interface Handler (src) msgContext - the message msgContext
public boolean handleFault(MessageContext (src) msgContext)
handleFault in interface Handler (src) msgContext - the message msgContext
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||