|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SoapHeaderElement
Represents the contents of an individual SOAP header in the a SOAP message. All SoapHeaderElements are
contained in a SoapHeader.
SoapHeader| Method Summary | |
|---|---|
String |
getActorOrRole()
Returns the actor or role for this header element. |
boolean |
getMustUnderstand()
Indicates whether the mustUnderstand attribute for this header element is set. |
Result |
getResult()
Returns a Result that allows for writing to the contents of the header element. |
String |
getText()
Returns the text content of this header element, if any. |
void |
setActorOrRole(String actorOrRole)
Sets the actor or role for this header element. |
void |
setMustUnderstand(boolean mustUnderstand)
Sets the mustUnderstand attribute for this header element. |
void |
setText(String content)
Sets the text content of this header element. |
| Methods inherited from interface org.springframework.ws.soap.SoapElement |
|---|
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute |
| Method Detail |
|---|
String getActorOrRole()
throws SoapHeaderException
actor attribute; in SOAP 1.2, the role attribute.
SoapHeaderException
void setActorOrRole(String actorOrRole)
throws SoapHeaderException
actor attribute being set; in SOAP 1.2, a actorOrRole attribute.
actorOrRole - the actorOrRole value
SoapHeaderException
boolean getMustUnderstand()
throws SoapHeaderException
mustUnderstand attribute for this header element is set.
true if the mustUnderstand attribute is set; false otherwise
SoapHeaderException
void setMustUnderstand(boolean mustUnderstand)
throws SoapHeaderException
mustUnderstand attribute for this header element. If the attribute is on, the role who
receives the header must process it.
mustUnderstand - true to set the mustUnderstand attribute on; false
to turn it off
SoapHeaderException
Result getResult()
throws SoapHeaderException
Result that allows for writing to the contents of the header element.
SoapHeaderExceptionString getText()
void setText(String content)
content - the new text content of this header element
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||