| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private volatile String | |
| private final LinkedHashMap | |
| private final String | |
| private final String | |
| private volatile String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | |
| public String | |
| public String | |
| public String | |
| public static MediaType | Returns: a MediaType parsed from the input, or null if not valida reader over the header text input)Parses a MediaType value, either from an HTTP header or from an application. |
| public String | |
| public String |
| charset | back to summary |
|---|---|
| private final String charset | |
| noCharset | back to summary |
|---|---|
| private volatile String noCharset | |
| parameters | back to summary |
|---|---|
| private final LinkedHashMap<String, String> parameters | |
| subtype | back to summary |
|---|---|
| private final String subtype | |
| type | back to summary |
|---|---|
| private final String type | |
| withCharset | back to summary |
|---|---|
| private volatile String withCharset | |
| MediaType | back to summary |
|---|---|
| protected MediaType(String type, String subtype, LinkedHashMap<String, String> parameters) | |
| getCharset | back to summary |
|---|---|
| public String getCharset() | |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() | |
| getParameterValue | back to summary |
|---|---|
| public String getParameterValue(String parameter) | |
| getSubtype | back to summary |
|---|---|
| public String getSubtype() | |
| getType | back to summary |
|---|---|
| public String getType() | |
| parseMediaType | back to summary |
|---|---|
| public static MediaType parseMediaType(StringReader input) throws IOException Parses a MediaType value, either from an HTTP header or from an application.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toStringNoCharset | back to summary |
|---|---|
| public String toStringNoCharset() | |