Package org.apache.axis
Class SimpleTargetedChain
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.apache.axis.SimpleChain
org.apache.axis.SimpleTargetedChain
- All Implemented Interfaces:
Serializable
,Chain
,Handler
,TargetedChain
- Direct Known Subclasses:
SOAPService
,Transport
A SimpleTargetedChain has a request handler, a pivot handler, and a response
handler (any of which may themselves be chains).
- Author:
- Doug Davis (dug@us.ibm.com), Glyn Normington (norm@uk.ibm.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.commons.logging.Log
protected Handler
protected Handler
protected Handler
Fields inherited from class org.apache.axis.SimpleChain
handlers, invoked
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
-
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructor.SimpleTargetedChain
(Handler handler) Constructor for an instance with effectively only a pivot handler.SimpleTargetedChain
(Handler reqHandler, Handler pivHandler, Handler respHandler) Constructor which takes real or null request, pivot, and response handlers. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Pivot Handler.Returns the Request handler.Returns the Response Handler.protected void
init
(Handler reqHandler, Handler specialReqHandler, Handler pivHandler, Handler specialRespHandler, Handler respHandler) Initialiser which takes real or null request, pivot, and response handlers and which allows for special request and response handlers to be inserted just before and after any pivot handler.Methods inherited from class org.apache.axis.SimpleChain
addHandler, canHandleBlock, cleanup, contains, generateWSDL, getDeploymentData, getHandlers, init, invoke, onFault
Methods inherited from class org.apache.axis.handlers.BasicHandler
getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.axis.Chain
addHandler, contains, getHandlers
Methods inherited from interface org.apache.axis.Handler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, invoke, onFault, setName, setOption, setOptions
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
requestHandler
-
pivotHandler
-
responseHandler
-
-
Constructor Details
-
SimpleTargetedChain
public SimpleTargetedChain()Default no-arg constructor. -
SimpleTargetedChain
Constructor for an instance with effectively only a pivot handler.- Parameters:
handler
- theHandler
to use
-
SimpleTargetedChain
Constructor which takes real or null request, pivot, and response handlers.
-
-
Method Details
-
init
protected void init(Handler reqHandler, Handler specialReqHandler, Handler pivHandler, Handler specialRespHandler, Handler respHandler) Initialiser which takes real or null request, pivot, and response handlers and which allows for special request and response handlers to be inserted just before and after any pivot handler.- Parameters:
reqHandler
- the requestHandler
specialReqHandler
- the special requestHandler
pivHandler
- the pivotHandler
specialRespHandler
- the special responseHandler
respHandler
- the responseHandler
-
getRequestHandler
Description copied from interface:TargetedChain
Returns the Request handler.- Specified by:
getRequestHandler
in interfaceTargetedChain
- Returns:
- the request
Handler
-
getPivotHandler
Description copied from interface:TargetedChain
Returns the Pivot Handler.- Specified by:
getPivotHandler
in interfaceTargetedChain
- Returns:
- the pivot
Handler
-
getResponseHandler
Description copied from interface:TargetedChain
Returns the Response Handler.- Specified by:
getResponseHandler
in interfaceTargetedChain
- Returns:
- the response
Handler
-