Class SecuredMessage

java.lang.Object
com.sun.xml.ws.security.opt.impl.message.SecuredMessage

public class SecuredMessage extends Object
Author:
K.Venugopal@sun.com
  • 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

      public SecuredMessage(com.sun.xml.ws.api.message.Message msg, SecurityHeader sh)
  • Method Details

    • getSOAPVersion

      public com.sun.xml.ws.api.SOAPVersion getSOAPVersion()
    • getHeaders

      public ArrayList getHeaders()
    • setRootElements

      public void setRootElements(org.jvnet.staxex.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 com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • replaceBody

      public void replaceBody(SecurityElement she)
    • replaceBody

      public void replaceBody(SOAPBody sb)
    • getAttachments

      public com.sun.xml.ws.api.message.AttachmentSet getAttachments()
    • setAttachments

      public void setAttachments(com.sun.xml.ws.api.message.AttachmentSet as)
    • getAttachment

      public com.sun.xml.ws.api.message.Attachment getAttachment(String uri)
    • writeTo

      public void writeTo(XMLStreamWriter sw) throws XMLStreamException
      Throws:
      XMLStreamException