|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
com.sun.xml.ws.handler.HandlerTube
public abstract class HandlerTube
| Field Summary | |
|---|---|
protected List<Handler> |
handlers
|
protected WSDLPort |
port
|
| Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
|---|
next |
| Constructor Summary | |
|---|---|
protected |
HandlerTube(HandlerTube that,
TubeCloner cloner)
Copy constructor for Tube.copy(TubeCloner). |
|
HandlerTube(Tube next,
HandlerTube cousinTube,
WSBinding binding)
|
|
HandlerTube(Tube next,
WSDLPort port,
WSBinding binding)
|
| Method Summary | |
|---|---|
void |
close(MessageContext msgContext)
Calls close on previously invoked handlers. |
protected void |
closeClientsideHandlers(MessageContext msgContext)
Called by close(MessageContext mc) in a Client Handlertube |
protected void |
closeServersideHandlers(MessageContext msgContext)
Called by close(MessageContext mc) in a Server Handlertube |
protected WSBinding |
getBinding()
|
protected void |
initiateClosing(MessageContext mc)
Must be overridden by HandlerTube that drives other handler tubes for processing a message. |
boolean |
isHandlerChainEmpty()
|
NextAction |
processException(Throwable t)
Default no-op implementation. |
NextAction |
processRequest(Packet request)
Default no-op implementation. |
NextAction |
processResponse(Packet response)
Default no-op implementation. |
protected void |
resetProcessor()
|
| Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
|---|
preDestroy |
| Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl |
|---|
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, doThrow, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Handler> handlers
@Nullable protected final WSDLPort port
| Constructor Detail |
|---|
public HandlerTube(Tube next,
WSDLPort port,
WSBinding binding)
public HandlerTube(Tube next,
HandlerTube cousinTube,
WSBinding binding)
protected HandlerTube(HandlerTube that,
TubeCloner cloner)
Tube.copy(TubeCloner).
| Method Detail |
|---|
protected WSBinding getBinding()
public NextAction processRequest(Packet request)
AbstractFilterTubeImpl
processRequest in interface TubeprocessRequest in class AbstractFilterTubeImplrequest - The packet that represents a request message.
If the packet has a non-null message, it must be a valid
unconsumed Message. This message represents the
SOAP message to be sent as a request.
The packet is also allowed to carry no message, which indicates that this is an output-only request. (that's called "solicit", right? - KK)
NextAction object that represents the next action
to be taken by the JAX-WS runtime.public NextAction processResponse(Packet response)
AbstractFilterTubeImpl
processResponse in interface TubeprocessResponse in class AbstractFilterTubeImplresponse - If the packet has a non-null message, it must be
a valid unconsumed Message. This message represents
a response to the request message passed to
Tube.processRequest(Packet) earlier.
The packet is also allowed to carry no message, which indicates that there was no response. This is used for things like one-way message and/or one-way transports. TODO: exception handling semantics need more discussion
NextAction object that represents the next action
to be taken by the JAX-WS runtime.public NextAction processException(Throwable t)
AbstractFilterTubeImpl
processException in interface TubeprocessException in class AbstractFilterTubeImplNextAction object that represents the next action
to be taken by the JAX-WS runtime.protected void initiateClosing(MessageContext mc)
public final void close(MessageContext msgContext)
protected void closeClientsideHandlers(MessageContext msgContext)
protected void closeServersideHandlers(MessageContext msgContext)
protected void resetProcessor()
public final boolean isHandlerChainEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||