public class GenericSecuredHeader extends com.sun.xml.ws.message.AbstractHeaderImpl implements SecuredHeader, NamespaceContextInfo
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GenericSecuredHeader.Attribute |
| Constructor and Description |
|---|
GenericSecuredHeader(XMLStreamReader reader,
com.sun.xml.ws.api.SOAPVersion soapVersion,
com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator creator,
HashMap nsDecl,
XMLInputFactory staxIF,
boolean encHeaderContent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String nsUri,
String localName) |
HashMap<String,String> |
getInscopeNSContext()
map of all inscope namespace declarations.
|
String |
getLocalPart() |
String |
getNamespaceURI() |
String |
getRole(com.sun.xml.ws.api.SOAPVersion soapVersion) |
String |
getStringContent() |
boolean |
hasEncData() |
boolean |
hasID(String id) |
boolean |
isIgnorable(com.sun.xml.ws.api.SOAPVersion soapVersion,
Set<String> roles) |
boolean |
isRelay() |
<T> T |
readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge) |
<T> T |
readAsJAXB(Unmarshaller um) |
XMLStreamReader |
readHeader()
Reads the header as a
XMLStreamReader |
void |
writeTo(ContentHandler contentHandler,
ErrorHandler errorHandler) |
void |
writeTo(SOAPMessage saaj) |
void |
writeTo(XMLStreamWriter w) |
public GenericSecuredHeader(XMLStreamReader reader, com.sun.xml.ws.api.SOAPVersion soapVersion, com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator creator, HashMap nsDecl, XMLInputFactory staxIF, boolean encHeaderContent) throws com.sun.xml.stream.buffer.XMLStreamBufferException, XMLStreamException
com.sun.xml.stream.buffer.XMLStreamBufferExceptionXMLStreamExceptionpublic boolean hasEncData()
public boolean hasID(String id)
hasID in interface SecuredHeaderid - true if the SecuredHeader refers to id.public final boolean isIgnorable(com.sun.xml.ws.api.SOAPVersion soapVersion,
Set<String> roles)
isIgnorable in interface com.sun.xml.ws.api.message.HeaderisIgnorable in class com.sun.xml.ws.message.AbstractHeaderImplpublic String getRole(com.sun.xml.ws.api.SOAPVersion soapVersion)
getRole in interface com.sun.xml.ws.api.message.HeadergetRole in class com.sun.xml.ws.message.AbstractHeaderImplpublic boolean isRelay()
isRelay in interface com.sun.xml.ws.api.message.HeaderisRelay in class com.sun.xml.ws.message.AbstractHeaderImplpublic String getNamespaceURI()
getNamespaceURI in interface com.sun.xml.ws.api.message.Headerpublic String getLocalPart()
getLocalPart in interface com.sun.xml.ws.api.message.Headerpublic String getAttribute(String nsUri, String localName)
getAttribute in interface com.sun.xml.ws.api.message.Headerpublic XMLStreamReader readHeader() throws XMLStreamException
XMLStreamReaderreadHeader in interface com.sun.xml.ws.api.message.HeaderXMLStreamExceptionpublic void writeTo(XMLStreamWriter w) throws XMLStreamException
writeTo in interface com.sun.xml.ws.api.message.HeaderXMLStreamExceptionpublic void writeTo(SOAPMessage saaj) throws SOAPException
writeTo in interface com.sun.xml.ws.api.message.HeaderSOAPExceptionpublic void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException
writeTo in interface com.sun.xml.ws.api.message.HeaderSAXExceptionpublic String getStringContent()
getStringContent in interface com.sun.xml.ws.api.message.HeadergetStringContent in class com.sun.xml.ws.message.AbstractHeaderImplpublic <T> T readAsJAXB(Unmarshaller um) throws JAXBException
readAsJAXB in interface com.sun.xml.ws.api.message.HeaderreadAsJAXB in class com.sun.xml.ws.message.AbstractHeaderImplJAXBExceptionpublic <T> T readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge)
throws JAXBException
readAsJAXB in interface com.sun.xml.ws.api.message.HeaderreadAsJAXB in class com.sun.xml.ws.message.AbstractHeaderImplJAXBExceptionpublic HashMap<String,String> getInscopeNSContext()
NamespaceContextInfogetInscopeNSContext in interface NamespaceContextInfoHashMap of all inscope namespaces.Copyright © 2005–2018 Oracle Corporation. All rights reserved.