com.sun.xml.ws.addressing
Class WsaPropertyBag

java.lang.Object
  extended by com.oracle.webservices.api.message.BasePropertySet
      extended by com.sun.xml.ws.addressing.WsaPropertyBag
All Implemented Interfaces:
com.oracle.webservices.api.message.PropertySet

public class WsaPropertyBag
extends com.oracle.webservices.api.message.BasePropertySet

Provides access to the Addressing headers.

Since:
2.1.3

Nested Class Summary
 
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
com.oracle.webservices.api.message.BasePropertySet.Accessor, com.oracle.webservices.api.message.BasePropertySet.PropertyMap, com.oracle.webservices.api.message.BasePropertySet.PropertyMapEntry
 
Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
com.oracle.webservices.api.message.PropertySet.Property
 
Field Summary
static java.lang.String WSA_FAULTTO_FROM_REQUEST
           
static java.lang.String WSA_MSGID_FROM_REQUEST
           
static java.lang.String WSA_REPLYTO_FROM_REQUEST
           
static java.lang.String WSA_TO
           
 
Constructor Summary
WsaPropertyBag(AddressingVersion addressingVersion, SOAPVersion soapVersion, Packet packet)
           
 
Method Summary
 java.lang.String getAction()
          Gets the wsa:Action header content as String.
 WSEndpointReference getFaultToFromRequest()
           
 WSEndpointReference getFrom()
          Gets the wsa:From header.
 java.lang.String getMessageID()
          Gets the wsa:MessageID header content as String.
 java.lang.String getMessageIdFromRequest()
           
protected  com.oracle.webservices.api.message.BasePropertySet.PropertyMap getPropertyMap()
          Map representing the Fields and Methods annotated with PropertySet.Property.
 WSEndpointReference getReplyToFromRequest()
           
 java.lang.String getTo()
          Gets the wsa:To header.
 WSEndpointReference getToAsReference()
          Gets the wsa:To header.
 void setFaultToFromRequest(WSEndpointReference ref)
           
 void setMessageIdFromRequest(java.lang.String id)
           
 void setReplyToFromRequest(WSEndpointReference ref)
           
 
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createMapView, createView, get, mapAllowsAdditionalProperties, parse, put, remove, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSA_REPLYTO_FROM_REQUEST

public static final java.lang.String WSA_REPLYTO_FROM_REQUEST
See Also:
Constant Field Values

WSA_FAULTTO_FROM_REQUEST

public static final java.lang.String WSA_FAULTTO_FROM_REQUEST
See Also:
Constant Field Values

WSA_MSGID_FROM_REQUEST

public static final java.lang.String WSA_MSGID_FROM_REQUEST
See Also:
Constant Field Values

WSA_TO

public static final java.lang.String WSA_TO
See Also:
Constant Field Values
Constructor Detail

WsaPropertyBag

public WsaPropertyBag(AddressingVersion addressingVersion,
                      SOAPVersion soapVersion,
                      Packet packet)
Method Detail

getTo

public java.lang.String getTo()
                       throws javax.xml.stream.XMLStreamException
Gets the wsa:To header.

Returns:
null if the incoming SOAP message didn't have the header.
Throws:
javax.xml.stream.XMLStreamException

getToAsReference

public WSEndpointReference getToAsReference()
                                     throws javax.xml.stream.XMLStreamException
Gets the wsa:To header.

Returns:
null if the incoming SOAP message didn't have the header.
Throws:
javax.xml.stream.XMLStreamException

getFrom

public WSEndpointReference getFrom()
                            throws javax.xml.stream.XMLStreamException
Gets the wsa:From header.

Returns:
null if the incoming SOAP message didn't have the header.
Throws:
javax.xml.stream.XMLStreamException

getAction

public java.lang.String getAction()
Gets the wsa:Action header content as String.

Returns:
null if the incoming SOAP message didn't have the header.

getMessageID

public java.lang.String getMessageID()
Gets the wsa:MessageID header content as String.

Returns:
null if the incoming SOAP message didn't have the header.

getPropertyMap

protected com.oracle.webservices.api.message.BasePropertySet.PropertyMap getPropertyMap()
Description copied from class: com.oracle.webservices.api.message.BasePropertySet
Map representing the Fields and Methods annotated with PropertySet.Property. Model of PropertySet class.

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:
getPropertyMap in class com.oracle.webservices.api.message.BasePropertySet

getReplyToFromRequest

public WSEndpointReference getReplyToFromRequest()

setReplyToFromRequest

public void setReplyToFromRequest(WSEndpointReference ref)

getFaultToFromRequest

public WSEndpointReference getFaultToFromRequest()

setFaultToFromRequest

public void setFaultToFromRequest(WSEndpointReference ref)

getMessageIdFromRequest

public java.lang.String getMessageIdFromRequest()

setMessageIdFromRequest

public void setMessageIdFromRequest(java.lang.String id)


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.