public class RMMessage extends Object
Constructor and Description |
---|
RMMessage() |
Modifier and Type | Method and Description |
---|---|
List<InputStream> |
getAttachments()
Deprecated.
not used as the optional attachments are stored in the content
|
CachedOutputStream |
getContent()
Returns the CachedOutputStream of this message content.
|
String |
getContentType()
Returns the content type of the message content
|
long |
getCreatedTime() |
long |
getMessageNumber()
Returns the message number of the message within its sequence.
|
String |
getTo()
Returns the to address of this message.
|
void |
setAttachments(List<InputStream> attaches)
Deprecated.
not used as the optional attachments are stored in the content
|
void |
setContent(CachedOutputStream cos)
Sets the message content using the CachedOutputStream.class.
|
void |
setContentType(String contentType)
Set the content type of the RMMessage
|
void |
setCreatedTime(long createdTime) |
void |
setMessageNumber(long mn)
Sets the message number of the message within its sequence.
|
void |
setTo(String t)
Sets the to address of this message.
|
public long getMessageNumber()
public void setMessageNumber(long mn)
mn
- the message numberpublic void setContent(CachedOutputStream cos)
cos
- public String getTo()
public void setTo(String t)
t
- the to addresspublic CachedOutputStream getContent()
IOException
@Deprecated public List<InputStream> getAttachments()
@Deprecated public void setAttachments(List<InputStream> attaches)
attaches
- (non-null)public String getContentType()
public void setContentType(String contentType)
contentType
- public long getCreatedTime()
public void setCreatedTime(long createdTime)
Apache CXF