public class InputStreamMessage extends StreamBasedMessage
InputStream.| Modifier and Type | Field and Description |
|---|---|
String |
contentType
The MIME content-type of the encoding.
|
InputStream |
msg
The message represented as an
InputStream. |
attachments, properties| Constructor and 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.
|
public final String contentType
public final InputStream msg
InputStream.public InputStreamMessage(Packet properties, String contentType, InputStream msg)
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.public InputStreamMessage(Packet properties, AttachmentSet attachments, String contentType, InputStream msg)
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.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.