|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoapHeader
Represents the Header
element in a SOAP message. A SOAP header contains SoapHeaderElement
s,
which represent the individual headers.
SoapHeaderElement
,
SoapEnvelope.getHeader()
Method Summary | |
---|---|
SoapHeaderElement |
addHeaderElement(QName name)
Adds a new SoapHeaderElement with the specified qualified name to this header. |
Iterator |
examineAllHeaderElements()
Returns an Iterator over all the SoapHeaderElement s in this header. |
Iterator |
examineMustUnderstandHeaderElements(String actorOrRole)
Returns an Iterator over all the SoapHeaderElement s that have the specified actor or
role and that have a MustUnderstand attribute whose value is equivalent to true . |
Result |
getResult()
Returns a Result that represents the concents of the header. |
Methods inherited from interface org.springframework.ws.soap.SoapElement |
---|
addAttribute, getAllAttibutes, getAttributeValue, getName, getSource, removeAttribute |
Method Detail |
---|
Result getResult()
Result
that represents the concents of the header.
The result can be used for marshalling.
Result
of this elementSoapHeaderElement addHeaderElement(QName name) throws SoapHeaderException
SoapHeaderElement
with the specified qualified name to this header.
name
- the qualified name of the new header element
SoapHeaderElement
SoapHeaderException
- if the header cannot be createdIterator examineMustUnderstandHeaderElements(String actorOrRole) throws SoapHeaderException
Iterator
over all the SoapHeaderElement
s that have the specified actor or
role and that have a MustUnderstand
attribute whose value is equivalent to true
.
actorOrRole
- the actor (SOAP 1.1) or role (SOAP 1.2) for which to search
MustUnderstand
SoapHeaderException
- if the headers cannot be returnedSoapHeaderElement
Iterator examineAllHeaderElements() throws SoapHeaderException
Iterator
over all the SoapHeaderElement
s in this header.
SoapHeaderException
- if the header cannot be returnedSoapHeaderElement
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |