Package org.apache.axis2.handlers
Class AbstractHandler
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- All Implemented Interfaces:
Handler
- Direct Known Subclasses:
AbstractDispatcher,AbstractHTTPTransportSender,AbstractOperationDispatcher,AbstractServiceDispatcher,AbstractTemplatedHandler,AbstractTransportSender,AddressingInFaultHandler,AddressingValidationHandler,DispatchOperationHandler,JavaTransportSender,JSONMessageHandler,JSONMessageHandler,LocalResponder,LocalTransportSender,MTOMInHandler,MTOMOutHandler,RequestBlockingHandler,SOAPMonitorHandler,UnderstandAllHeadersHandler,XMPPSender
public abstract class AbstractHandler extends Object implements Handler
Class AbstractHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
Handler.InvocationResponse
-
-
Field Summary
Fields Modifier and Type Field Description protected HandlerDescriptionhandlerDescField handlerDesc
-
Constructor Summary
Constructors Constructor Description AbstractHandler()Constructor AbstractHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflowComplete(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.HandlerDescriptiongetHandlerDesc()Gets the phaseRule of a handler.StringgetName()Method getName.ParametergetParameter(String name)Method getParameter.voidinit(HandlerDescription handlerdesc)Method init.StringtoString()
-
-
-
Field Detail
-
handlerDesc
protected HandlerDescription handlerDesc
Field handlerDesc
-
-
Method Detail
-
init
public void init(HandlerDescription handlerdesc)
Method init.
-
getHandlerDesc
public HandlerDescription getHandlerDesc()
Gets the phaseRule of a handler.- Specified by:
getHandlerDescin interfaceHandler- Returns:
- Returns HandlerDescription.
-
getName
public String getName()
Method getName.
-
getParameter
public Parameter getParameter(String name)
Method getParameter.- Specified by:
getParameterin interfaceHandler- Parameters:
name- name of the parameter- Returns:
- Returns Parameter.
-
flowComplete
public void flowComplete(MessageContext msgContext)
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.
-
-