Package | Description |
---|---|
android.gov.nist.javax.sip.header |
Contains implementations of the SIP headers as defined in JAIN-SIP 1.2 and
an implementation of the JAIN-SIP header factory.
|
android.gov.nist.javax.sip.message |
Class definitions for SIP messages and message factory.
|
android.javax.sip.header |
This package contains all the headers interfaces supported by this specification. |
android.javax.sip.message |
This package contains the interfaces representing SIP messages.
|
Modifier and Type | Class and Description |
---|---|
class |
ContentType
ContentType SIP Header
|
Modifier and Type | Method and Description |
---|---|
ContentTypeHeader |
HeaderFactoryImpl.createContentTypeHeader(String contentType,
String contentSubType)
Creates a new ContentTypeHeader based on the newly supplied contentType and
contentSubType values.
|
Modifier and Type | Method and Description |
---|---|
ContentTypeHeader |
MessageExt.getContentTypeHeader()
Get the content type header or null if none present.
|
ContentTypeHeader |
MultipartMimeContentImpl.getContentTypeHeader() |
ContentTypeHeader |
ContentImpl.getContentTypeHeader() |
ContentTypeHeader |
MultipartMimeContent.getContentTypeHeader()
Return the Content type header to assign to the outgoing sip meassage.
|
ContentTypeHeader |
Content.getContentTypeHeader() |
Modifier and Type | Method and Description |
---|---|
MultipartMimeContent |
MessageFactoryExt.createMultipartMimeContent(ContentTypeHeader multipartMimeContentTypeHeader,
String[] contentType,
String[] contentSubtype,
String[] contentBody)
Create a MultipartMime attachment from a list of content type, subtype and content.
|
MultipartMimeContent |
MessageFactoryImpl.createMultipartMimeContent(ContentTypeHeader multipartMimeCth,
String[] contentType,
String[] contentSubtype,
String[] contentBody) |
Request |
MessageFactoryImpl.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
byte[] content,
ContentTypeHeader contentType)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message
with a body in the form of a byte array and body content type.
|
Request |
MessageFactoryImpl.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message
with a body in the form of a byte array and body content type.
|
Request |
MessageFactoryImpl.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message
with a body in the form of a Java object and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
byte[] content,
ContentTypeHeader contentType)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body in
the form of a byte array and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body in
the form of a byte array and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body in
the form of a Java object and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
Object content,
ContentTypeHeader contentType)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body in
the form of a Java object and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode
paramater, based on a specific Request with a new body in the form of a
byte array and the body content type.
|
Response |
MessageFactoryImpl.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
Object content)
Creates a new Response message of type specified by the statusCode
paramater, based on a specific Request with a new body in the form of a
Java object and the body content type.
|
void |
SIPMessage.setContent(Object content,
ContentTypeHeader contentTypeHeader)
Set the message content after converting the given object to a String.
|
void |
ContentImpl.setContentTypeHeader(ContentTypeHeader contentTypeHeader) |
Constructor and Description |
---|
MultipartMimeContentImpl(ContentTypeHeader contentTypeHeader)
Creates a default content list.
|
Modifier and Type | Method and Description |
---|---|
ContentTypeHeader |
HeaderFactory.createContentTypeHeader(String contentType,
String contentSubType)
Creates a new ContentTypeHeader based on the newly supplied contentType and
contentSubType values.
|
Modifier and Type | Method and Description |
---|---|
Request |
MessageFactory.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message
with a body in the form of a byte array and body content type.
|
Request |
MessageFactory.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message
with a body in the form of a Java object and the body content type.
|
Response |
MessageFactory.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body
in the form of a byte array and the body content type.
|
Response |
MessageFactory.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Creates a new Response message of type specified by the statusCode
paramater, containing the mandatory headers of the message with a body
in the form of a Java object and the body content type.
|
Response |
MessageFactory.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode
paramater, based on a specific Request with a new body in the form of a
byte array and the body content type.
|
Response |
MessageFactory.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
Object content)
Creates a new Response message of type specified by the statusCode
paramater, based on a specific Request with a new body in the form of a
Java object and the body content type.
|
void |
Message.setContent(Object content,
ContentTypeHeader contentTypeHeader)
Sets the body of this Message, with the ContentType defined by the new
ContentTypeHeader object and the string value of the content.
|
Copyright © 2018. All Rights Reserved.