public class SimpleTargetedChain extends SimpleChain implements TargetedChain
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
protected Handler |
pivotHandler |
protected Handler |
requestHandler |
protected Handler |
responseHandler |
handlers, invoked
makeLockable, name, options
Constructor and Description |
---|
SimpleTargetedChain()
Default 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.
|
Modifier and Type | Method and Description |
---|---|
Handler |
getPivotHandler()
Returns the Pivot Handler.
|
Handler |
getRequestHandler()
Returns the Request handler.
|
Handler |
getResponseHandler()
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.
|
addHandler, canHandleBlock, cleanup, contains, generateWSDL, getDeploymentData, getHandlers, init, invoke, onFault
getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandler, contains, getHandlers
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, invoke, onFault, setName, setOption, setOptions
protected static org.apache.commons.logging.Log log
protected Handler requestHandler
protected Handler pivotHandler
protected Handler responseHandler
public SimpleTargetedChain()
public SimpleTargetedChain(Handler handler)
handler
- the Handler
to useprotected void init(Handler reqHandler, Handler specialReqHandler, Handler pivHandler, Handler specialRespHandler, Handler respHandler)
reqHandler
- the request Handler
specialReqHandler
- the special request Handler
pivHandler
- the pivot Handler
specialRespHandler
- the special response Handler
respHandler
- the response Handler
public Handler getRequestHandler()
TargetedChain
getRequestHandler
in interface TargetedChain
Handler
public Handler getPivotHandler()
TargetedChain
getPivotHandler
in interface TargetedChain
Handler
public Handler getResponseHandler()
TargetedChain
getResponseHandler
in interface TargetedChain
Handler
Copyright © The Apache Software Foundation. All Rights Reserved.