|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentDispositionHeader
The Content-Disposition header field describes how the message body or, for multipart messages, a message body part is to be interpreted by the UAC or UAS. This SIP header field extends the MIME Content-Type. Several new "disposition-types" of the Content-Disposition header are defined by SIP, namely:-
If this header field is missing, the MIME type determines the default content disposition. If there is none, "render" is assumed.
For Example:
Content-Disposition: session
ContentTypeHeader
,
ContentLengthHeader
,
ContentEncodingHeader
,
ContentLanguageHeader
Field Summary | |
---|---|
static java.lang.String |
ALERT
Alert Disposition Type Constant |
static java.lang.String |
ICON
Icon Disposition Type Constant |
static java.lang.String |
NAME
Name of ContentDispositionHeader |
static java.lang.String |
RENDER
Render Disposition Type Constant |
static java.lang.String |
SESSION
Session Disposition Type Constant |
Method Summary | |
---|---|
java.lang.String |
getDispositionType()
Gets the interpretation of the message body or message body part of this ContentDispositionHeader. |
java.lang.String |
getHandling()
Gets the handling information of the unknown content disposition of the ContentDispositionHeader. |
void |
setDispositionType(java.lang.String dispositionType)
Sets the interpretation value of the message body or message body part for this ContentDispositionHeader. |
void |
setHandling(java.lang.String handling)
The handling parameter describes how the UAS should react if it receives a message body whose content type or disposition type it does not understand. |
Methods inherited from interface javax.sip.header.Parameters |
---|
getParameter, getParameterNames, removeParameter, setParameter |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final java.lang.String NAME
static final java.lang.String SESSION
static final java.lang.String RENDER
static final java.lang.String ICON
static final java.lang.String ALERT
Method Detail |
---|
void setDispositionType(java.lang.String dispositionType) throws java.text.ParseException
dispositionType
- the new String value of the
disposition type.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the dispositionType parameter.java.lang.String getDispositionType()
void setHandling(java.lang.String handling) throws java.text.ParseException
handling
- the new String value either "optional"
or "required".
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the handling parameter.java.lang.String getHandling()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |