Package com.sun.xml.ws.addressing
Class WsaPropertyBag
- java.lang.Object
-
- com.oracle.webservices.api.message.BasePropertySet
-
- com.sun.xml.ws.addressing.WsaPropertyBag
-
- All Implemented Interfaces:
PropertySet
public class WsaPropertyBag extends BasePropertySet
Provides access to the Addressing headers.- Since:
- 2.1.3
- Author:
- Kohsuke Kawaguchi, Rama Pulavarthi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMap, BasePropertySet.PropertyMapEntry
-
Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property
-
-
Field Summary
Fields Modifier and Type Field Description static StringWSA_FAULTTO_FROM_REQUESTstatic StringWSA_MSGID_FROM_REQUESTstatic StringWSA_REPLYTO_FROM_REQUESTstatic StringWSA_TO
-
Constructor Summary
Constructors Constructor Description WsaPropertyBag(AddressingVersion addressingVersion, SOAPVersion soapVersion, Packet packet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Gets thewsa:Actionheader content as String.WSEndpointReferencegetFaultToFromRequest()WSEndpointReferencegetFrom()Gets thewsa:Fromheader.StringgetMessageID()Gets thewsa:MessageIDheader content as String.StringgetMessageIdFromRequest()protected BasePropertySet.PropertyMapgetPropertyMap()Map representing the Fields and Methods annotated withPropertySet.Property.WSEndpointReferencegetReplyToFromRequest()StringgetTo()Gets thewsa:Toheader.WSEndpointReferencegetToAsReference()Gets thewsa:Toheader.voidsetFaultToFromRequest(WSEndpointReference ref)voidsetMessageIdFromRequest(String id)voidsetReplyToFromRequest(WSEndpointReference ref)-
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createMapView, createView, get, mapAllowsAdditionalProperties, parse, put, remove, supports
-
-
-
-
Field Detail
-
WSA_REPLYTO_FROM_REQUEST
public static final String WSA_REPLYTO_FROM_REQUEST
- See Also:
- Constant Field Values
-
WSA_FAULTTO_FROM_REQUEST
public static final String WSA_FAULTTO_FROM_REQUEST
- See Also:
- Constant Field Values
-
WSA_MSGID_FROM_REQUEST
public static final String WSA_MSGID_FROM_REQUEST
- See Also:
- Constant Field Values
-
WSA_TO
public static final String WSA_TO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WsaPropertyBag
public WsaPropertyBag(AddressingVersion addressingVersion, SOAPVersion soapVersion, Packet packet)
-
-
Method Detail
-
getTo
public String getTo() throws XMLStreamException
Gets thewsa:Toheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getToAsReference
public WSEndpointReference getToAsReference() throws XMLStreamException
Gets thewsa:Toheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getFrom
public WSEndpointReference getFrom() throws XMLStreamException
Gets thewsa:Fromheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getAction
public String getAction()
Gets thewsa:Actionheader content as String.- Returns:
- null if the incoming SOAP message didn't have the header.
-
getMessageID
public String getMessageID()
Gets thewsa:MessageIDheader content as String.- Returns:
- null if the incoming SOAP message didn't have the header.
-
getPropertyMap
protected BasePropertySet.PropertyMap getPropertyMap()
Description copied from class:BasePropertySetMap representing the Fields and Methods annotated withPropertySet.Property. Model ofPropertySetclass.At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet
-
getReplyToFromRequest
public WSEndpointReference getReplyToFromRequest()
-
setReplyToFromRequest
public void setReplyToFromRequest(WSEndpointReference ref)
-
getFaultToFromRequest
public WSEndpointReference getFaultToFromRequest()
-
setFaultToFromRequest
public void setFaultToFromRequest(WSEndpointReference ref)
-
getMessageIdFromRequest
public String getMessageIdFromRequest()
-
setMessageIdFromRequest
public void setMessageIdFromRequest(String id)
-
-