|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.xml.transform.TransformerObjectSupport org.springframework.ws.soap.addressing.version.AbstractAddressingVersion
public abstract class AbstractAddressingVersion
Abstract base class for AddressingVersion
implementations. Uses XPathExpression
s to retrieve
addressing information.
Field Summary |
---|
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
protected |
AbstractAddressingVersion()
|
Method Summary | |
---|---|
void |
addAddressingHeaders(SoapMessage message,
MessageAddressingProperties map)
Adds addressing SOAP headers to the given message, using the given MessageAddressingProperties . |
protected void |
addEndpointReference(SoapHeaderElement headerElement,
EndpointReference epr)
Adds ReplyTo, FaultTo, or From EPR to the given header Element. |
SoapFault |
addInvalidAddressingHeaderFault(SoapMessage message)
Adds a Invalid Addressing Header fault to the given message. |
SoapFault |
addMessageAddressingHeaderRequiredFault(SoapMessage message)
Adds a Message Addressing Header Required fault to the given message. |
protected void |
addReferenceNodes(Result result,
List nodes)
|
protected QName |
getActionName()
Returns the qualified name of the Action addressing header. |
protected QName |
getAddressName()
The qualified name of the Address in EndpointReference . |
protected abstract URI |
getAnonymous()
Returns the anonymous URI. |
protected abstract EndpointReference |
getDefaultReplyTo(EndpointReference from)
Returns the default ReplyTo EPR. |
protected abstract URI |
getDefaultTo()
Returns the default To URI. |
protected QName |
getFaultToName()
Returns the qualified name of the FaultTo addressing header. |
protected QName |
getFromName()
Returns the qualified name of the From addressing header. |
protected abstract String |
getInvalidAddressingHeaderFaultReason()
Returns the reason of the fault that indicates that a header is invalid. |
protected abstract QName |
getInvalidAddressingHeaderFaultSubcode()
Returns the qualified name of the fault subcode that indicates that a header is invalid. |
protected abstract String |
getMessageAddressingHeaderRequiredFaultReason()
Returns the reason of the fault that indicates that a header is missing. |
protected abstract QName |
getMessageAddressingHeaderRequiredFaultSubcode()
Returns the qualified name of the fault subcode that indicates that a header is missing. |
MessageAddressingProperties |
getMessageAddressingProperties(SoapMessage message)
Returns the MessageAddressingProperties for the given
message. |
protected QName |
getMessageIdName()
Returns the qualified name of the MessageID addressing header. |
protected String |
getNamespacePrefix()
Returns the prefix associated with the WS-Addressing namespace handled by this specification. |
protected abstract String |
getNamespaceUri()
Returns the WS-Addressing namespace handled by this specification. |
protected abstract URI |
getNone()
Returns the none URI, or null if the spec does not define it. |
protected QName |
getReferenceParametersName()
Returns the qualified name of the ReferenceParameters in the endpoint reference. |
protected QName |
getReferencePropertiesName()
Returns the qualified name of the ReferenceProperties in the endpoint reference. |
protected QName |
getRelatesToName()
Returns the qualified name of the RelatesTo addressing header. |
protected QName |
getRelationshipTypeName()
Returns the qualified name of the RelatesTo addressing header. |
protected QName |
getReplyToName()
Returns the qualified name of the ReplyTo addressing header. |
protected QName |
getToName()
Returns the qualified name of the To addressing header. |
boolean |
hasAnonymousAddress(EndpointReference epr)
Indicates whether the given endpoint reference has a Anonymous address. |
boolean |
hasNoneAddress(EndpointReference epr)
Indicates whether the given endpoint reference has a None address. |
boolean |
understands(SoapHeaderElement headerElement)
Given a SoapHeaderElement , return whether or not this version understands it. |
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.ws.soap.addressing.version.AddressingVersion |
---|
hasRequiredProperties |
Constructor Detail |
---|
protected AbstractAddressingVersion()
Method Detail |
---|
public MessageAddressingProperties getMessageAddressingProperties(SoapMessage message)
AddressingVersion
MessageAddressingProperties
for the given
message.
getMessageAddressingProperties
in interface AddressingVersion
message
- the message to find the map for
public void addAddressingHeaders(SoapMessage message, MessageAddressingProperties map)
AddressingVersion
MessageAddressingProperties
.
addAddressingHeaders
in interface AddressingVersion
message
- the message to add the headers tomap
- the message addressing propertiespublic final boolean understands(SoapHeaderElement headerElement)
AddressingVersion
SoapHeaderElement
, return whether or not this version understands it.
understands
in interface AddressingVersion
headerElement
- the header
true
if understood, false
otherwiseprotected void addEndpointReference(SoapHeaderElement headerElement, EndpointReference epr)
protected void addReferenceNodes(Result result, List nodes)
public final SoapFault addInvalidAddressingHeaderFault(SoapMessage message)
AddressingVersion
addInvalidAddressingHeaderFault
in interface AddressingVersion
public final SoapFault addMessageAddressingHeaderRequiredFault(SoapMessage message)
AddressingVersion
addMessageAddressingHeaderRequiredFault
in interface AddressingVersion
public final boolean hasAnonymousAddress(EndpointReference epr)
AddressingVersion
hasAnonymousAddress
in interface AddressingVersion
public final boolean hasNoneAddress(EndpointReference epr)
AddressingVersion
hasNoneAddress
in interface AddressingVersion
protected String getNamespacePrefix()
protected abstract String getNamespaceUri()
protected QName getToName()
To
addressing header.
protected QName getFromName()
From
addressing header.
protected QName getReplyToName()
ReplyTo
addressing header.
protected QName getFaultToName()
FaultTo
addressing header.
protected QName getActionName()
Action
addressing header.
protected QName getMessageIdName()
MessageID
addressing header.
protected QName getRelatesToName()
RelatesTo
addressing header.
protected QName getRelationshipTypeName()
RelatesTo
addressing header.
protected QName getReferencePropertiesName()
ReferenceProperties
in the endpoint reference. Returns
null
when reference properties are not supported by this version of the spec.
protected QName getReferenceParametersName()
ReferenceParameters
in the endpoint reference. Returns
null
when reference parameters are not supported by this version of the spec.
protected QName getAddressName()
Address
in EndpointReference
.
protected abstract URI getDefaultTo()
protected abstract EndpointReference getDefaultReplyTo(EndpointReference from)
protected abstract URI getAnonymous()
protected abstract URI getNone()
null
if the spec does not define it.
protected abstract QName getMessageAddressingHeaderRequiredFaultSubcode()
protected abstract String getMessageAddressingHeaderRequiredFaultReason()
protected abstract QName getInvalidAddressingHeaderFaultSubcode()
protected abstract String getInvalidAddressingHeaderFaultReason()
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |