com.sun.xml.ws.api.message.stream
Class InputStreamMessage

java.lang.Object
  extended by com.sun.xml.ws.api.message.stream.StreamBasedMessage
      extended by com.sun.xml.ws.api.message.stream.InputStreamMessage

public class InputStreamMessage
extends StreamBasedMessage

Low level representation of an XML or SOAP message as an InputStream.


Field Summary
 String contentType
          The MIME content-type of the encoding.
 InputStream msg
          The message represented as an InputStream.
 
Fields inherited from class com.sun.xml.ws.api.message.stream.StreamBasedMessage
attachments, properties
 
Constructor Summary
InputStreamMessage(Packet properties, AttachmentSet attachments, String contentType, InputStream msg)
          Create a new message.
InputStreamMessage(Packet properties, String contentType, InputStream msg)
          Create a new message.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentType

public final String contentType
The MIME content-type of the encoding.


msg

public final InputStream msg
The message represented as an InputStream.

Constructor Detail

InputStreamMessage

public InputStreamMessage(Packet properties,
                          String contentType,
                          InputStream msg)
Create a new message.

Parameters:
properties - the properties of the message.
contentType - the MIME content-type of the encoding.
msg - always a non-null unconsumed InputStream that represents a request.

InputStreamMessage

public InputStreamMessage(Packet properties,
                          AttachmentSet attachments,
                          String contentType,
                          InputStream msg)
Create a new message.

Parameters:
properties - the properties of the message.
attachments - the attachments of the message.
contentType - the MIME content-type of the encoding.
msg - always a non-null unconsumed InputStream that represents a request.