|
JAIN-SIP 2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ContentTypeHeader | |
---|---|
javax.sip.header | This package contains all the headers interfaces supported by this specification. |
javax.sip.message | This package contains the interfaces representing SIP messages. |
Uses of ContentTypeHeader in javax.sip.header |
---|
Methods in javax.sip.header that return ContentTypeHeader | |
---|---|
ContentTypeHeader |
HeaderFactory.createContentTypeHeader(String contentType,
String contentSubType)
Creates a new ContentTypeHeader based on the newly supplied contentType and contentSubType values. |
Uses of ContentTypeHeader in javax.sip.message |
---|
Methods in javax.sip.message that return ContentTypeHeader | |
---|---|
ContentTypeHeader |
Message.getContentType()
Get the content type header or null if none present. |
ContentTypeHeader |
MultipartMimeContent.getContentTypeHeader()
Return the Content type header to assign to the outgoing sip meassage. |
ContentTypeHeader |
Content.getContentTypeHeader()
|
Methods in javax.sip.message with parameters of type ContentTypeHeader | |
---|---|
MultipartMimeContent |
MessageFactory.createMultipartMimeContent(ContentTypeHeader multipartMimeContentTypeHeader,
String[] contentType,
String[] contentSubtype,
String[] contentBody)
Create a MultipartMime attachment from a list of content type, subtype and content. |
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,
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,
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,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Deprecated. This method is not supported since version 2.0 because MaxForwards header is not relevant for the response. Please use MessageFactory.createResponse(int, CallIdHeader,
CSeqHeader, FromHeader, ToHeader, List, ContentTypeHeader, byte[]) |
Response |
MessageFactory.createResponse(int statusCode,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Deprecated. This method is deprecated since version 2.0. MaxForwards header is not required for the response. Please use MessageFactory.createResponse(int, CallIdHeader, CSeqHeader, FromHeader,
ToHeader, List, ContentTypeHeader, Object) |
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. |
|
JAIN-SIP 2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |