Class WsAddressingHeaders
java.lang.Object
org.citrusframework.ws.addressing.WsAddressingHeaders
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the action.org.springframework.ws.soap.addressing.core.EndpointReferenceGets the fault to endpoint reference.org.springframework.ws.soap.addressing.core.EndpointReferencegetFrom()Gets the from endpoint reference.Gets the message id.Gets the list of specified must understand headers.org.springframework.ws.soap.addressing.core.EndpointReferenceGets the reply to endpoint reference.getTo()Gets the to uri.Gets the adressing version.booleanDetermines if this addressing headers instance has defined must understand headers.booleanisMustUnderstand(QName header) Determines if given header needs to set must understand flag.voidSets the action from uri string.voidSets the action.voidsetFaultTo(String faultTo) Sets the fault to endpoint reference by string.voidsetFaultTo(org.springframework.ws.soap.addressing.core.EndpointReference faultTo) Sets the fault to endpoint reference.voidSets the from endpoint reference by string.voidsetFrom(org.springframework.ws.soap.addressing.core.EndpointReference from) Sets the from endpoint reference.voidsetMessageId(String messageId) Sets the message id from uri string.voidsetMessageId(URI messageId) Sets the message id.voidsetMustUnderstandHeaders(List<String> mustUnderstandHeaders) Sets the list of defined must understand headers.voidsetReplyTo(String replyTo) Sets the reply to endpoint reference by string.voidsetReplyTo(org.springframework.ws.soap.addressing.core.EndpointReference replyTo) Sets the reply to endpoint reference.voidSets the to uri by string.voidSets the to uri.voidsetVersion(WsAddressingVersion version) Sets the adressing version.
-
Constructor Details
-
WsAddressingHeaders
public WsAddressingHeaders()
-
-
Method Details
-
getVersion
Gets the adressing version.- Returns:
- the version
-
setVersion
Sets the adressing version.- Parameters:
version- the version to set
-
getAction
Gets the action.- Returns:
- the action
-
setAction
Sets the action.- Parameters:
action- the action to set
-
setAction
Sets the action from uri string.- Parameters:
action- the action to set
-
getTo
Gets the to uri.- Returns:
- the to
-
setTo
Sets the to uri.- Parameters:
to- the to to set
-
setTo
Sets the to uri by string.- Parameters:
to- the to to set
-
getMessageId
Gets the message id.- Returns:
- the messageId
-
setMessageId
Sets the message id.- Parameters:
messageId- the messageId to set
-
setMessageId
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
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
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
Sets the fault to endpoint reference by string.- Parameters:
faultTo- the faultTo to set
-
getMustUnderstandHeaders
Gets the list of specified must understand headers.- Returns:
-
setMustUnderstandHeaders
Sets the list of defined must understand headers.- Parameters:
mustUnderstandHeaders-
-
isMustUnderstand
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.
-