|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.rm.persistence.RMMessage
public class RMMessage
| Constructor Summary | |
|---|---|
RMMessage()
|
|
| Method Summary | |
|---|---|
CachedOutputStream |
getCachedOutputStream()
Returns the associated cached output stream. |
byte[] |
getContent()
Deprecated. |
InputStream |
getInputStream()
Returns the input stream of this message content. |
long |
getMessageNumber()
Returns the message number of the message within its sequence. |
long |
getSize()
Returns the length of the message content in bytes. |
String |
getTo()
Returns the to address of this message. |
void |
setContent(byte[] c)
Deprecated. |
void |
setContent(CachedOutputStream c)
Sets the message content using the cached output stream. |
void |
setContent(InputStream in)
Sets the message content using the input stream. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RMMessage()
| Method Detail |
|---|
public long getMessageNumber()
public void setMessageNumber(long mn)
messageNumber - the message numberpublic byte[] getContent()
public void setContent(byte[] c)
content - the message content
public void setContent(InputStream in)
throws IOException
in -
IOExceptionpublic void setContent(CachedOutputStream c)
c - public String getTo()
public void setTo(String t)
t - the to address
public InputStream getInputStream()
throws IOException
IOExceptionpublic CachedOutputStream getCachedOutputStream()
public long getSize()
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||