public interface ContentDispositionHeader extends Parameters, Header
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
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
getParameter, getParameterNames, removeParameter, setParameter
static final String NAME
static final String SESSION
static final String RENDER
static final String ICON
static final String ALERT
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()
Copyright © 2016. All Rights Reserved.