Class 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
  • Field Details

  • Constructor Details

  • Method Details

    • getTo

      public String getTo() throws XMLStreamException
      Gets the wsa:To header.
      Returns:
      null if the incoming SOAP message didn't have the header.
      Throws:
      XMLStreamException
    • getToAsReference

      public WSEndpointReference getToAsReference() throws XMLStreamException
      Gets the wsa:To header.
      Returns:
      null if the incoming SOAP message didn't have the header.
      Throws:
      XMLStreamException
    • getFrom

      public WSEndpointReference getFrom() throws XMLStreamException
      Gets the wsa:From header.
      Returns:
      null if the incoming SOAP message didn't have the header.
      Throws:
      XMLStreamException
    • getAction

      public String getAction()
      Gets the wsa:Action header content as String.
      Returns:
      null if the incoming SOAP message didn't have the header.
    • getMessageID

      public String getMessageID()
      Gets the wsa:MessageID header content as String.
      Returns:
      null if the incoming SOAP message didn't have the header.
    • getPropertyMap

      protected BasePropertySet.PropertyMap getPropertyMap()
      Description copied from class: 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;
       }
       
      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:
      getPropertyMap in class BasePropertySet
      Returns:
      the map of strongly-typed known properties keyed by property names
    • 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)