|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.message.AbstractHeaderImpl
com.sun.xml.ws.message.DOMHeader<javax.xml.soap.SOAPHeaderElement>
com.sun.xml.ws.message.saaj.SAAJHeader
public final class SAAJHeader
Header
for SOAPHeaderElement
.
Field Summary |
---|
Fields inherited from class com.sun.xml.ws.message.DOMHeader |
---|
node |
Fields inherited from class com.sun.xml.ws.message.AbstractHeaderImpl |
---|
EMPTY_ATTS |
Constructor Summary | |
---|---|
SAAJHeader(javax.xml.soap.SOAPHeaderElement header)
|
Method Summary | |
---|---|
java.lang.String |
getRole(SOAPVersion soapVersion)
Gets the value of the soap:role attribute (or soap:actor for SOAP 1.1). |
Methods inherited from class com.sun.xml.ws.message.DOMHeader |
---|
equals, getAttribute, getLocalPart, getNamespaceURI, getStringContent, getWrappedNode, hashCode, readAsJAXB, readAsJAXB, readHeader, writeTo, writeTo, writeTo |
Methods inherited from class com.sun.xml.ws.message.AbstractHeaderImpl |
---|
getAttribute, isIgnorable, isRelay, parseBool, readAsEPR, readAsJAXB, readAsJAXB |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAAJHeader(javax.xml.soap.SOAPHeaderElement header)
Method Detail |
---|
@NotNull public java.lang.String getRole(@NotNull SOAPVersion soapVersion)
Header
If the attribute is omitted, the value defaults to SOAPVersion.implicitRole
.
getRole
in interface Header
getRole
in class AbstractHeaderImpl
soapVersion
- The caller specifies the SOAP version that the pipeline is working against.
Often each Header
implementation already knows the SOAP version
anyway, but this allows some Header
s to avoid keeping it.
That's why this redundant parameter is passed in.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |