Class WsAddressingHeaders

java.lang.Object
org.citrusframework.ws.addressing.WsAddressingHeaders

public class WsAddressingHeaders extends Object
Value object holding ws addressing information which is translated into the message header. Message id is optional - if not set here it is generated automatically.
  • Constructor Details

    • WsAddressingHeaders

      public WsAddressingHeaders()
  • Method Details

    • getVersion

      public WsAddressingVersion getVersion()
      Gets the adressing version.
      Returns:
      the version
    • setVersion

      public void setVersion(WsAddressingVersion version)
      Sets the adressing version.
      Parameters:
      version - the version to set
    • getAction

      public URI getAction()
      Gets the action.
      Returns:
      the action
    • setAction

      public void setAction(URI action)
      Sets the action.
      Parameters:
      action - the action to set
    • setAction

      public void setAction(String action)
      Sets the action from uri string.
      Parameters:
      action - the action to set
    • getTo

      public URI getTo()
      Gets the to uri.
      Returns:
      the to
    • setTo

      public void setTo(URI to)
      Sets the to uri.
      Parameters:
      to - the to to set
    • setTo

      public void setTo(String to)
      Sets the to uri by string.
      Parameters:
      to - the to to set
    • getMessageId

      public URI getMessageId()
      Gets the message id.
      Returns:
      the messageId
    • setMessageId

      public void setMessageId(URI messageId)
      Sets the message id.
      Parameters:
      messageId - the messageId to set
    • setMessageId

      public void setMessageId(String messageId)
      Sets the message id from uri string.
      Parameters:
      messageId - the messageId to set
    • getFrom

      public org.springframework.ws.soap.addressing.core.EndpointReference getFrom()
      Gets the from endpoint reference.
      Returns:
      the from
    • setFrom

      public void setFrom(org.springframework.ws.soap.addressing.core.EndpointReference from)
      Sets the from endpoint reference.
      Parameters:
      from - the from to set
    • setFrom

      public void setFrom(String from)
      Sets the from endpoint reference by string.
      Parameters:
      from - the from to set
    • getReplyTo

      public org.springframework.ws.soap.addressing.core.EndpointReference getReplyTo()
      Gets the reply to endpoint reference.
      Returns:
      the replyTo
    • setReplyTo

      public void setReplyTo(org.springframework.ws.soap.addressing.core.EndpointReference replyTo)
      Sets the reply to endpoint reference.
      Parameters:
      replyTo - the replyTo to set
    • setReplyTo

      public void setReplyTo(String replyTo)
      Sets the reply to endpoint reference by string.
      Parameters:
      replyTo - the replyTo to set
    • getFaultTo

      public org.springframework.ws.soap.addressing.core.EndpointReference getFaultTo()
      Gets the fault to endpoint reference.
      Returns:
      the faultTo
    • setFaultTo

      public void setFaultTo(org.springframework.ws.soap.addressing.core.EndpointReference faultTo)
      Sets the fault to endpoint reference.
      Parameters:
      faultTo - the faultTo to set
    • setFaultTo

      public void setFaultTo(String faultTo)
      Sets the fault to endpoint reference by string.
      Parameters:
      faultTo - the faultTo to set
    • getMustUnderstandHeaders

      public List<String> getMustUnderstandHeaders()
      Gets the list of specified must understand headers.
      Returns:
    • setMustUnderstandHeaders

      public void setMustUnderstandHeaders(List<String> mustUnderstandHeaders)
      Sets the list of defined must understand headers.
      Parameters:
      mustUnderstandHeaders -
    • isMustUnderstand

      public boolean isMustUnderstand(QName header)
      Determines if given header needs to set must understand flag.
      Parameters:
      header -
      Returns:
    • hasMustUnderstandHeaders

      public boolean hasMustUnderstandHeaders()
      Determines if this addressing headers instance has defined must understand headers.
      Returns:
      true, when at least one must understand header is defined.