com.sun.xml.ws.security.opt.impl.message
Class SecuredMessage
java.lang.Object
com.sun.xml.ws.security.opt.impl.message.SecuredMessage
public class SecuredMessage
- extends Object
- Author:
- K.Venugopal@sun.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecuredMessage
public SecuredMessage(Message msg,
SecurityHeader sh,
SOAPVersion soapVersion)
- Creates a new instance of SecuredMessage
SecuredMessage
public SecuredMessage(Message msg,
SecurityHeader sh)
getSOAPVersion
public SOAPVersion getSOAPVersion()
getHeaders
public ArrayList getHeaders()
setRootElements
public void setRootElements(NamespaceContextEx ne)
isOneWay
public boolean isOneWay()
getHeaders
public Iterator getHeaders(String localName,
String uri)
getHeaders
public Iterator getHeaders(String uri)
replaceHeader
public boolean replaceHeader(Object header1,
Object header2)
getHeader
public Object getHeader(String id)
getPayloadNamespaceURI
public String getPayloadNamespaceURI()
getPayloadLocalPart
public String getPayloadLocalPart()
readPayload
public XMLStreamReader readPayload()
throws XMLStreamException
- Throws:
XMLStreamException
writePayloadTo
public void writePayloadTo(XMLStreamWriter sw)
throws XMLStreamException
- Throws:
XMLStreamException
getBody
public Object getBody()
throws XWSSecurityException
- Throws:
XWSSecurityException
replaceBody
public void replaceBody(SecurityElement she)
replaceBody
public void replaceBody(SOAPBody sb)
getAttachments
public AttachmentSet getAttachments()
setAttachments
public void setAttachments(AttachmentSet as)
getAttachment
public Attachment getAttachment(String uri)
writeTo
public void writeTo(XMLStreamWriter sw)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.