Class XMLStreamReaderMessage

java.lang.Object
com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage

public class XMLStreamReaderMessage extends Object
Low level representation of an XML or SOAP message as an XMLStreamReader.
  • Field Details

    • msg

      public final XMLStreamReader msg
      The message represented as an XMLStreamReader.
    • properties

      public final Packet properties
      The properties of the message.
    • attachments

      public final AttachmentSet attachments
      The attachments of this message (attachments live outside a message.)
  • Constructor Details

    • XMLStreamReaderMessage

      public XMLStreamReaderMessage(Packet properties, XMLStreamReader msg)
      Create a new message.
      Parameters:
      properties - the properties of the message.
      msg - always a non-null unconsumed XMLStreamReader that represents a request.
    • XMLStreamReaderMessage

      public XMLStreamReaderMessage(Packet properties, AttachmentSet attachments, XMLStreamReader msg)
      Create a new message.
      Parameters:
      properties - the properties of the message.
      attachments - the attachments of the message.
      msg - always a non-null unconsumed XMLStreamReader that represents a request.