public class SecuredMessage extends Object
| Constructor and Description |
|---|
SecuredMessage(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
|
| Modifier and Type | Method and Description |
|---|---|
com.sun.xml.ws.api.message.Attachment |
getAttachment(String uri) |
com.sun.xml.ws.api.message.AttachmentSet |
getAttachments() |
Object |
getBody() |
Object |
getHeader(String id) |
ArrayList |
getHeaders() |
Iterator |
getHeaders(String uri) |
Iterator |
getHeaders(String localName,
String uri) |
String |
getPayloadLocalPart() |
String |
getPayloadNamespaceURI() |
com.sun.xml.ws.api.SOAPVersion |
getSOAPVersion() |
boolean |
isOneWay() |
XMLStreamReader |
readPayload() |
void |
replaceBody(SecurityElement she) |
void |
replaceBody(SOAPBody sb) |
boolean |
replaceHeader(Object header1,
Object header2) |
void |
setAttachments(com.sun.xml.ws.api.message.AttachmentSet as) |
void |
setRootElements(org.jvnet.staxex.NamespaceContextEx ne) |
void |
writePayloadTo(XMLStreamWriter sw) |
void |
writeTo(XMLStreamWriter sw) |
public SecuredMessage(com.sun.xml.ws.api.message.Message msg,
SecurityHeader sh,
com.sun.xml.ws.api.SOAPVersion soapVersion)
public SecuredMessage(com.sun.xml.ws.api.message.Message msg,
SecurityHeader sh)
public com.sun.xml.ws.api.SOAPVersion getSOAPVersion()
public ArrayList getHeaders()
public void setRootElements(org.jvnet.staxex.NamespaceContextEx ne)
public boolean isOneWay()
public String getPayloadNamespaceURI()
public String getPayloadLocalPart()
public XMLStreamReader readPayload() throws XMLStreamException
XMLStreamExceptionpublic void writePayloadTo(XMLStreamWriter sw) throws XMLStreamException
XMLStreamExceptionpublic Object getBody() throws XWSSecurityException
XWSSecurityExceptionpublic void replaceBody(SecurityElement she)
public void replaceBody(SOAPBody sb)
public com.sun.xml.ws.api.message.AttachmentSet getAttachments()
public void setAttachments(com.sun.xml.ws.api.message.AttachmentSet as)
public com.sun.xml.ws.api.message.Attachment getAttachment(String uri)
public void writeTo(XMLStreamWriter sw) throws XMLStreamException
XMLStreamExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.