Spring Web Services Framework

org.springframework.ws.soap.addressing.core
Class MessageAddressingProperties

java.lang.Object
  extended by org.springframework.ws.soap.addressing.core.MessageAddressingProperties
All Implemented Interfaces:
Serializable

public final class MessageAddressingProperties
extends Object
implements Serializable

Represents a set of Message Addressing Properties, as defined in the WS-Addressing specification.

In earlier versions of the spec, these properties were called Message Information Headers.

Since:
1.5.0
Author:
Arjen Poutsma
See Also:
Message Addressing Properties, Serialized Form

Constructor Summary
MessageAddressingProperties(URI to, EndpointReference from, EndpointReference replyTo, EndpointReference faultTo, URI action, URI messageId)
          Constructs a new MessageAddressingProperties with the given parameters.
 
Method Summary
 URI getAction()
          Returns the value of the action property.
 EndpointReference getFaultTo()
          Returns the value of the fault endpoint property.
 EndpointReference getFrom()
          Returns the value of the source endpoint property.
 URI getMessageId()
          Returns the value of the message id property.
 List<Node> getReferenceParameters()
          Returns the endpoint parameters.
 List<Node> getReferenceProperties()
          Returns the endpoint properties.
 URI getRelatesTo()
          Returns the value of the relationship property.
 MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId)
          Creates a MessageAddressingProperties that can be used for creating a reply to the given EndpointReference.
 EndpointReference getReplyTo()
          Returns the value of the reply endpoint property.
 URI getTo()
          Returns the value of the destination property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageAddressingProperties

public MessageAddressingProperties(URI to,
                                   EndpointReference from,
                                   EndpointReference replyTo,
                                   EndpointReference faultTo,
                                   URI action,
                                   URI messageId)
Constructs a new MessageAddressingProperties with the given parameters.

Parameters:
to - the value of the destination property
from - the value of the source endpoint property
replyTo - the value of the reply endpoint property
faultTo - the value of the fault endpoint property
action - the value of the action property
messageId - the value of the message id property
Method Detail

getTo

public URI getTo()
Returns the value of the destination property.


getFrom

public EndpointReference getFrom()
Returns the value of the source endpoint property.


getReplyTo

public EndpointReference getReplyTo()
Returns the value of the reply endpoint property.


getFaultTo

public EndpointReference getFaultTo()
Returns the value of the fault endpoint property.


getAction

public URI getAction()
Returns the value of the action property.


getMessageId

public URI getMessageId()
Returns the value of the message id property.


getRelatesTo

public URI getRelatesTo()
Returns the value of the relationship property.


getReferenceProperties

public List<Node> getReferenceProperties()
Returns the endpoint properties. Returns an empty list of none are set.


getReferenceParameters

public List<Node> getReferenceParameters()
Returns the endpoint parameters. Returns an empty list of none are set.


getReplyProperties

public MessageAddressingProperties getReplyProperties(EndpointReference epr,
                                                      URI action,
                                                      URI messageId)
Creates a MessageAddressingProperties that can be used for creating a reply to the given EndpointReference. The destination property will be populated with the address of the given EPR, and the relationship property will be set to the message id property of this instance. the action is specified, the

Parameters:
epr - the endpoint reference to create a reply to
action - the action

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.