Class SecuredMessage
java.lang.Object
com.sun.xml.ws.security.opt.impl.message.SecuredMessage
- Author:
- K.Venugopal@sun.com
-
Constructor Summary
ConstructorsConstructorDescriptionSecuredMessage(com.sun.xml.ws.api.message.Message msg, SecurityHeader sh) SecuredMessage(com.sun.xml.ws.api.message.Message msg, SecurityHeader sh, com.sun.xml.ws.api.SOAPVersion soapVersion) Creates a new instance of SecuredMessage -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.xml.ws.api.message.AttachmentgetAttachment(String uri) com.sun.xml.ws.api.message.AttachmentSetgetBody()getHeaders(String uri) getHeaders(String localName, String uri) com.sun.xml.ws.api.SOAPVersionbooleanisOneWay()voidvoidreplaceBody(SOAPBody sb) booleanreplaceHeader(Object header1, Object header2) voidsetAttachments(com.sun.xml.ws.api.message.AttachmentSet as) voidsetRootElements(org.jvnet.staxex.NamespaceContextEx ne) voidvoid
-
Constructor Details
-
SecuredMessage
public SecuredMessage(com.sun.xml.ws.api.message.Message msg, SecurityHeader sh, com.sun.xml.ws.api.SOAPVersion soapVersion) Creates a new instance of SecuredMessage -
SecuredMessage
-
-
Method Details
-
getSOAPVersion
public com.sun.xml.ws.api.SOAPVersion getSOAPVersion() -
getHeaders
-
setRootElements
public void setRootElements(org.jvnet.staxex.NamespaceContextEx ne) -
isOneWay
public boolean isOneWay() -
getHeaders
-
getHeaders
-
replaceHeader
-
getHeader
-
getPayloadNamespaceURI
-
getPayloadLocalPart
-
readPayload
- Throws:
XMLStreamException
-
writePayloadTo
- Throws:
XMLStreamException
-
getBody
- Throws:
XWSSecurityException
-
replaceBody
-
replaceBody
-
getAttachments
public com.sun.xml.ws.api.message.AttachmentSet getAttachments() -
setAttachments
public void setAttachments(com.sun.xml.ws.api.message.AttachmentSet as) -
getAttachment
-
writeTo
- Throws:
XMLStreamException
-