|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cafesip.sipunit.SipMessage
public class SipMessage
SipMessage represents a SipRequest or a SipResponse. SipMessage provides a uniform way of getting information about a SIP message (request or reponse), such as content length.
| Method Summary | |
|---|---|
java.lang.Object |
getContent()
Obtains the body of the message as an Object. |
int |
getContentLength()
Gets the length of the message body. |
int |
getExpiry()
Gets the duration after which the message (or content) expires, relative to message receipt. |
javax.sip.message.Message |
getMessage()
Obtains the underlying javax.sip.message.Message object. |
byte[] |
getRawContent()
Gets the body content of the message as a byte array. |
java.lang.String |
toString()
Converts this message object to its String equivalent. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public javax.sip.message.Message getMessage()
public java.lang.Object getContent()
public int getContentLength()
public byte[] getRawContent()
public int getExpiry()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||