| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private String | |
| private ParameterList |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ContentDisposition(String
the ContentDisposition string. s)Constructor that takes a ContentDisposition string. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: parameter valuethe parameter name name)Return the specified parameter value. |
| public ParameterList | Returns: ParameterListReturn a ParameterList object that holds all the available parameters. |
| public void | |
| public void | |
| public void | |
| public String | Returns: RFC2045 style stringOverrides java. |
| contentDispositionStrict | back to summary |
|---|---|
| private static final boolean contentDispositionStrict | |
| disposition | back to summary |
|---|---|
| private String disposition | |
| list | back to summary |
|---|---|
| private ParameterList list | |
| ContentDisposition | back to summary |
|---|---|
| public ContentDisposition() No-arg Constructor. | |
| ContentDisposition | back to summary |
|---|---|
| public ContentDisposition(String disposition, ParameterList list) Constructor.
| |
| ContentDisposition | back to summary |
|---|---|
| public ContentDisposition(String s) throws ParseException Constructor that takes a ContentDisposition string. The String is parsed into its constituents: dispostion and parameters. A ParseException is thrown if the parse fails.
| |
| getDisposition | back to summary |
|---|---|
| public String getDisposition() Return the disposition value.
| |
| getParameter | back to summary |
|---|---|
| public String getParameter(String name) Return the specified parameter value. Returns | |
| getParameterList | back to summary |
|---|---|
| public ParameterList getParameterList() Return a ParameterList object that holds all the available parameters. Returns null if no parameters are available.
| |
| setDisposition | back to summary |
|---|---|
| public void setDisposition(String disposition) Set the disposition. Replaces the existing disposition.
| |
| setParameter | back to summary |
|---|---|
| public void setParameter(String name, String value) Set the specified parameter. If this parameter already exists, it is replaced by this new value. | |
| setParameterList | back to summary |
|---|---|
| public void setParameterList(ParameterList list) Set a new ParameterList.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Retrieve a RFC2045 style string representation of this ContentDisposition. Returns an empty string if the conversion failed. | |