Class InputStreamMessage
- java.lang.Object
-
- com.sun.xml.ws.api.message.stream.InputStreamMessage
-
public class InputStreamMessage extends Object
Low level representation of an XML or SOAP message as anInputStream
.
-
-
Field Summary
Fields Modifier and Type Field Description AttachmentSet
attachments
The attachments of this message (attachments live outside a message.)String
contentType
The MIME content-type of the encoding.InputStream
msg
The message represented as anInputStream
.Packet
properties
The properties of the message.
-
Constructor Summary
Constructors Constructor Description InputStreamMessage(Packet properties, AttachmentSet attachments, String contentType, InputStream msg)
Create a new message.InputStreamMessage(Packet properties, String contentType, InputStream msg)
Create a new message.
-
-
-
Field Detail
-
contentType
public final String contentType
The MIME content-type of the encoding.
-
msg
public final InputStream msg
The message represented as anInputStream
.
-
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 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 unconsumedInputStream
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 unconsumedInputStream
that represents a request.
-
-