public interface MessageExt extends Message
Modifier and Type | Method and Description |
---|---|
Object |
getApplicationData()
Returns the application data associated with the transaction.This
specification does not define the format of this application specific
data.
|
CallIdHeader |
getCallIdHeader()
Get the callId header or null if none present.
|
ContentLengthHeader |
getContentLengthHeader()
Get the content length header or null if none present.
|
ContentTypeHeader |
getContentTypeHeader()
Get the content type header or null if none present.
|
CSeqHeader |
getCSeqHeader()
Get the CSeq header or null if none present.
|
String |
getFirstLine()
Get the first line of the request or response.
|
FromHeader |
getFromHeader()
Get the From header or null if none present.
|
MultipartMimeContent |
getMultipartMimeContent()
Get the multipart mime content from a message.
|
ToHeader |
getToHeader()
Get the To header or null if none present.
|
ViaHeader |
getTopmostViaHeader()
Get the topmost Via header.
|
void |
setApplicationData(Object applicationData)
This method allows applications to associate application context with
the message.
|
addFirst, addHeader, addLast, clone, equals, getContent, getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getExpires, getHeader, getHeaderNames, getHeaders, getRawContent, getSIPVersion, getUnrecognizedHeaders, hashCode, removeContent, removeFirst, removeHeader, removeLast, setContent, setContentDisposition, setContentEncoding, setContentLanguage, setContentLength, setExpires, setHeader, setSIPVersion, toString
void setApplicationData(Object applicationData)
applicationData
- - un-interpreted application data.Object getApplicationData()
MultipartMimeContent getMultipartMimeContent() throws ParseException
Message
- messageParseException
- if the content type is multipart mime but the content
is not properly encoded.ViaHeader getTopmostViaHeader()
FromHeader getFromHeader()
ToHeader getToHeader()
CallIdHeader getCallIdHeader()
CSeqHeader getCSeqHeader()
ContentTypeHeader getContentTypeHeader()
ContentLengthHeader getContentLengthHeader()
String getFirstLine()
Copyright © 2016. All Rights Reserved.