| 
|||||||||||
| PREV CLASS NEXT CLASS | 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  javax.xml.namespace.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.  | 
| 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 javax.xml.namespace.QName[] getHeaders()
getHeaders in interface Handlerpublic void init(HandlerInfo config)
config - handler configurationpublic void destroy()
public boolean handleRequest(MessageContext msgContext)
handleRequest in interface HandlermsgContext - the message msgContext
public boolean handleResponse(MessageContext msgContext)
handleResponse in interface HandlermsgContext - the message msgContext
public boolean handleFault(MessageContext msgContext)
handleFault in interface HandlermsgContext - the message msgContext
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||