Class InputStreamMessage
java.lang.Object
com.sun.xml.ws.api.message.stream.InputStreamMessage
Low level representation of an XML or SOAP message as an
InputStream
.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AttachmentSet
The attachments of this message (attachments live outside a message.)final String
The MIME content-type of the encoding.final InputStream
The message represented as anInputStream
.final Packet
The properties of the message. -
Constructor Summary
ConstructorsConstructorDescriptionInputStreamMessage
(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
-
Field Details
-
contentType
The MIME content-type of the encoding. -
msg
The message represented as anInputStream
. -
properties
The properties of the message. -
attachments
The attachments of this message (attachments live outside a message.)
-
-
Constructor Details
-
InputStreamMessage
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.
-