|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
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 String |
ALERT
Alert Disposition Type Constant |
static String |
ICON
Icon Disposition Type Constant |
static String |
NAME
Name of ContentDispositionHeader |
static String |
RENDER
Render Disposition Type Constant |
static String |
SESSION
Session Disposition Type Constant |
Method Summary | |
---|---|
String |
getDispositionType()
Gets the interpretation of the message body or message body part of this ContentDispositionHeader. |
String |
getHandling()
Gets the handling information of the unknown content disposition of the ContentDispositionHeader. |
void |
setDispositionType(String dispositionType)
Sets the interpretation value of the message body or message body part for this ContentDispositionHeader. |
void |
setHandling(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 String NAME
static final String SESSION
static final String RENDER
static final String ICON
static final String ALERT
Method Detail |
---|
void setDispositionType(String dispositionType) throws ParseException
dispositionType
- the new String value of the
disposition type.
ParseException
- which signals that an error has been reached
unexpectedly while parsing the dispositionType parameter.String getDispositionType()
void setHandling(String handling) throws ParseException
handling
- the new String value either "optional"
or "required".
ParseException
- which signals that an error has been reached
unexpectedly while parsing the handling parameter.String getHandling()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |