Package com.sun.xml.ws.message.saaj
Class 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
Constructors -
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, readHeader, writeTo, writeTo, writeToMethods inherited from class com.sun.xml.ws.message.AbstractHeaderImpl
getAttribute, isIgnorable, isRelay, parseBool, readAsEPR, readAsJAXB
-
Constructor Details
-
SAAJHeader
-
-
Method Details
-
getRole
Description copied from interface:HeaderGets 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:
getRolein interfaceHeader- Overrides:
getRolein classAbstractHeaderImpl- Parameters:
soapVersion- The caller specifies the SOAP version that the pipeline is working against. Often eachHeaderimplementation already knows the SOAP version anyway, but this allows someHeaders to avoid keeping it. That's why this redundant parameter is passed in.- Returns:
- never null. This string need not be interned.
-