|
||||||||||
| 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 with parameters of type ContentTypeHeader | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||