Package org.apache.axis2.handlers
Class AbstractHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
- All Implemented Interfaces:
Handler
- Direct Known Subclasses:
AbstractDispatcher,AbstractOperationDispatcher,AbstractServiceDispatcher,AbstractTemplatedHandler,RequestBlockingHandler
Class AbstractHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
Handler.InvocationResponse -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflowComplete(MessageContext msgContext) This method will be called on each registered handler that had its invoke(...) method called during the processing of the message, once the message processing has completed.Gets the phaseRule of a handler.getName()Method getName.getParameter(String name) Method getParameter.voidinit(HandlerDescription handlerdesc) Method init.toString()
-
Field Details
-
handlerDesc
Field handlerDesc
-
-
Constructor Details
-
AbstractHandler
public AbstractHandler()Constructor AbstractHandler.
-
-
Method Details
-
init
Method init. -
toString
-
getHandlerDesc
Gets the phaseRule of a handler.- Specified by:
getHandlerDescin interfaceHandler- Returns:
- Returns HandlerDescription.
-
getName
Method getName. -
getParameter
Method getParameter.- Specified by:
getParameterin interfaceHandler- Parameters:
name- name of the parameter- Returns:
- Returns Parameter.
-
flowComplete
Description copied from interface:HandlerThis method will be called on each registered handler that had its invoke(...) method called during the processing of the message, once the message processing has completed. During execution of the flowComplete's, handlers are invoked in the opposite order that they were invoked originally. Note that implementations SHOULD check msgContext.getFailureReason() to see if this is an error or a normal completion.- Specified by:
flowCompletein interfaceHandler- Parameters:
msgContext- theMessageContextto process with thisHandler.
-