View Javadoc

    1   package org.codehaus.xfire.addressing;
    2
    3   import javax.xml.namespace.QName;
    4
    5   /***
    6    * WS-Addressing Headers from a SOAP message.
    7    *
    8    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    9    */
    10  public class AddressingHeaders
    11  {
    12      private String messageID;
    13
    14      private String relatesTo;
    15
    16      private QName relationshipType;
    17
    18      private String action;
    19
    20      private String to;
    21
    22      private EndpointReference from;
    23
    24      private EndpointReference replyTo;
    25
    26      private EndpointReference faultTo;
    27
    28      public String getAction()
    29      {
    30          return action;
    31      }
    32
    33      public void setAction(String action)
    34      {
    35          this.action = action;
    36      }
    37
    38      public EndpointReference getFaultTo()
    39      {
    40          return faultTo;
    41      }
    42
    43      public void setFaultTo(EndpointReference faultTo)
    44      {
    45          this.faultTo = faultTo;
    46      }
    47
    48      public EndpointReference getFrom()
    49      {
    50          return from;
    51      }
    52
    53      public void setFrom(EndpointReference from)
    54      {
    55          this.from = from;
    56      }
    57
    58      public String getMessageID()
    59      {
    60          return messageID;
    61      }
    62
    63      public void setMessageID(String messageID)
    64      {
    65          this.messageID = messageID;
    66      }
    67
    68      public EndpointReference getReplyTo()
    69      {
    70          return replyTo;
    71      }
    72
    73      public void setReplyTo(EndpointReference replyTo)
    74      {
    75          this.replyTo = replyTo;
    76      }
    77
    78      public String getTo()
    79      {
    80          return to;
    81      }
    82
    83      public void setTo(String to)
    84      {
    85          this.to = to;
    86      }
    87
    88      public String getRelatesTo()
    89      {
    90          return relatesTo;
    91      }
    92
    93      public void setRelatesTo(String relatesTo)
    94      {
    95          this.relatesTo = relatesTo;
    96      }
    97
    98      public QName getRelationshipType()
    99      {
    100         return relationshipType;
    101     }
    102
    103     public void setRelationshipType(QName relationshipType)
    104     {
    105         this.relationshipType = relationshipType;
    106     }
    107 }