abstract class WsaTube extends AbstractFilterTubeImpl
This tube is used only when WS-Addressing is enabled.
Modifier and Type | Field and Description |
---|---|
protected AddressingVersion |
addressingVersion |
protected WSBinding |
binding |
(package private) WsaTubeHelper |
helper |
protected SOAPVersion |
soapVersion |
protected WSDLPort |
wsdlPort
Port that we are processing.
|
next
Constructor and Description |
---|
WsaTube(WsaTube that,
TubeCloner cloner) |
WsaTube(WSDLPort wsdlPort,
WSBinding binding,
Tube next) |
Modifier and Type | Method and Description |
---|---|
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) |
preDestroy, processRequest, processResponse
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, process
@NotNull protected final WSDLPort wsdlPort
protected final WSBinding binding
final WsaTubeHelper helper
@NotNull protected final AddressingVersion addressingVersion
protected final SOAPVersion soapVersion
public WsaTube(WsaTube that, TubeCloner cloner)
@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.packet
- The inbound packet.WebServiceException
- if:
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
- Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.