|
||||||||||
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.addressing.WsaTube
abstract class WsaTube
WS-Addressing processing code shared between client and server.
This tube is used only when WS-Addressing is enabled.
Field Summary | |
---|---|
protected AddressingVersion |
addressingVersion
|
protected WSBinding |
binding
|
(package private) WsaTubeHelper |
helper
|
protected SOAPVersion |
soapVersion
|
protected WSDLPort |
wsdlPort
Port that we are processing. |
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
---|
next |
Constructor Summary | |
---|---|
WsaTube(WsaTube that,
TubeCloner cloner)
|
|
WsaTube(WSDLPort wsdlPort,
WSBinding binding,
Tube next)
|
Method Summary | |
---|---|
protected void |
checkCardinality(Packet packet)
Checks the cardinality of WS-Addressing headers on an inbound Packet . |
protected void |
checkMandatoryHeaders(Packet packet,
boolean foundAction,
boolean foundTo,
boolean foundReplyTo,
boolean foundFaultTo,
boolean foundMessageId,
boolean foundRelatesTo)
This should be called only when Addressing is engaged. |
protected void |
checkMessageAddressingProperties(Packet packet)
This method checks all the WS-Addressing headers are valid and as per the spec definded rules. |
protected WsaTubeHelper |
getTubeHelper()
|
protected WSDLBoundOperation |
getWSDLBoundOperation(Packet packet)
|
(package private) boolean |
isAddressingEngagedOrRequired(Packet packet,
WSBinding binding)
|
(package private) boolean |
isInCurrentRole(Header header,
WSBinding binding)
|
NextAction |
processException(Throwable t)
Default no-op implementation. |
protected abstract void |
validateAction(Packet packet)
|
protected Packet |
validateInboundHeaders(Packet packet)
Validates the inbound message. |
protected void |
validateSOAPAction(Packet packet)
|
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl |
---|
preDestroy, processRequest, processResponse |
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl |
---|
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull protected final WSDLPort wsdlPort
protected final WSBinding binding
final WsaTubeHelper helper
@NotNull protected final AddressingVersion addressingVersion
protected final SOAPVersion soapVersion
Constructor Detail |
---|
public WsaTube(WSDLPort wsdlPort, WSBinding binding, Tube next)
public WsaTube(WsaTube that, TubeCloner cloner)
Method Detail |
---|
@NotNull public NextAction processException(Throwable t)
AbstractFilterTubeImpl
processException
in interface Tube
processException
in class AbstractFilterTubeImpl
NextAction
object that represents the next action
to be taken by the JAX-WS runtime.protected WsaTubeHelper getTubeHelper()
protected Packet validateInboundHeaders(Packet packet)
protected void checkMessageAddressingProperties(Packet packet)
packet
- final boolean isAddressingEngagedOrRequired(Packet packet, WSBinding binding)
protected void checkCardinality(Packet packet)
Packet
. This method
checks for the cardinality if WS-Addressing is engaged (detected by the presence of wsa:Action
header) or wsdl:required=true.
final boolean isInCurrentRole(Header header, WSBinding binding)
protected final WSDLBoundOperation getWSDLBoundOperation(Packet packet)
protected void validateSOAPAction(Packet packet)
protected abstract void validateAction(Packet packet)
protected void checkMandatoryHeaders(Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo, boolean foundFaultTo, boolean foundMessageId, boolean foundRelatesTo)
packet
- foundAction
- foundTo
- foundReplyTo
- foundFaultTo
- foundMessageId
- foundRelatesTo
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |