public abstract class HandlerTube extends AbstractFilterTubeImpl
| Modifier and Type | Field and Description |
|---|---|
protected List<Handler> |
handlers |
protected WSDLPort |
port |
next| Modifier | Constructor and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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(com.sun.xml.ws.api.message.Packet request)
Default no-op implementation.
|
NextAction |
processResponse(com.sun.xml.ws.api.message.Packet response)
Default no-op implementation.
|
protected void |
resetProcessor() |
preDestroycopy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, doThrow, processpublic HandlerTube(Tube next, HandlerTube cousinTube, WSBinding binding)
protected HandlerTube(HandlerTube that, TubeCloner cloner)
Tube.copy(TubeCloner).protected WSBinding getBinding()
public NextAction processRequest(com.sun.xml.ws.api.message.Packet request)
AbstractFilterTubeImplprocessRequest 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(com.sun.xml.ws.api.message.Packet response)
AbstractFilterTubeImplprocessResponse 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)
AbstractFilterTubeImplprocessException 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()
Copyright © 2015 Oracle Corporation. All rights reserved.