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 HandlerDescription
handlerDesc
Field handlerDesc
-
Constructor Summary
Constructors Constructor Description AbstractHandler()
Constructor AbstractHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flowComplete(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.HandlerDescription
getHandlerDesc()
Gets the phaseRule of a handler.String
getName()
Method getName.Parameter
getParameter(String name)
Method getParameter.void
init(HandlerDescription handlerdesc)
Method init.String
toString()
-
-
-
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:
getHandlerDesc
in interfaceHandler
- Returns:
- Returns HandlerDescription.
-
getName
public String getName()
Method getName.
-
getParameter
public Parameter getParameter(String name)
Method getParameter.- Specified by:
getParameter
in interfaceHandler
- Parameters:
name
- name of the parameter- Returns:
- Returns Parameter.
-
flowComplete
public void flowComplete(MessageContext msgContext)
Description copied from interface:Handler
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. 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:
flowComplete
in interfaceHandler
- Parameters:
msgContext
- theMessageContext
to process with thisHandler
.
-
-