java.lang.Object
com.sun.xml.ws.message.AbstractHeaderImpl
com.sun.xml.ws.message.DOMHeader<javax.xml.soap.SOAPHeaderElement>
com.sun.xml.ws.message.saaj.SAAJHeader
- All Implemented Interfaces:
Header
Header
for SOAPHeaderElement
.- Author:
- Vivek Pandey
-
Field Summary
Fields inherited from class com.sun.xml.ws.message.AbstractHeaderImpl
EMPTY_ATTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRole
(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
-
Constructor Details
-
SAAJHeader
public SAAJHeader(javax.xml.soap.SOAPHeaderElement header)
-
-
Method Details
-
getRole
Description copied from interface:Header
Gets the value of the soap:role attribute (or soap:actor for SOAP 1.1).If the attribute is omitted, the value defaults to
SOAPVersion.implicitRole
.- Specified by:
getRole
in interfaceHeader
- Overrides:
getRole
in classAbstractHeaderImpl
- Parameters:
soapVersion
- The caller specifies the SOAP version that the pipeline is working against. Often eachHeader
implementation already knows the SOAP version anyway, but this allows someHeader
s to avoid keeping it. That's why this redundant parameter is passed in.- Returns:
- never null. This string need not be interned.
-