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
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.PropertyMapEntryNested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWsaPropertyBag(AddressingVersion addressingVersion, SOAPVersion soapVersion, Packet packet) -
Method Summary
Modifier and TypeMethodDescriptionGets thewsa:Actionheader content as String.getFrom()Gets thewsa:Fromheader.Gets thewsa:MessageIDheader content as String.protected BasePropertySet.PropertyMapMap representing the Fields and Methods annotated withPropertySet.Property.getTo()Gets thewsa:Toheader.Gets thewsa:Toheader.voidvoidvoidMethods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createView, get, mapAllowsAdditionalProperties, parse, parse, put, remove, supports
-
Field Details
-
WSA_REPLYTO_FROM_REQUEST
- See Also:
-
WSA_FAULTTO_FROM_REQUEST
- See Also:
-
WSA_MSGID_FROM_REQUEST
- See Also:
-
WSA_TO
- See Also:
-
-
Constructor Details
-
WsaPropertyBag
-
-
Method Details
-
getTo
Gets thewsa:Toheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getToAsReference
Gets thewsa:Toheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getFrom
Gets thewsa:Fromheader.- Returns:
- null if the incoming SOAP message didn't have the header.
- Throws:
XMLStreamException
-
getAction
Gets thewsa:Actionheader content as String.- Returns:
- null if the incoming SOAP message didn't have the header.
-
getMessageID
Gets thewsa:MessageIDheader content as String.- Returns:
- null if the incoming SOAP message didn't have the header.
-
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; }or if the implementation is in different Java module.private static final PropertyMap model; static { model = parse(MyDerivedClass.class, MethodHandles.lookup()); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet- Returns:
- the map of strongly-typed known properties keyed by property names
-
getReplyToFromRequest
-
setReplyToFromRequest
-
getFaultToFromRequest
-
setFaultToFromRequest
-
getMessageIdFromRequest
-
setMessageIdFromRequest
-