- toString
- parse
Parses the given string to a media type. The string is expected to be of the
form "type/subtype(; pa
- getType
Return the Type of the MediaType, such as "text" for "text/plain"
- getSubtype
Return the Sub-Type of the MediaType, such as "plain" for "text/plain"
- equals
- <init>
- getBaseType
Returns the base form of the MediaType, excluding any parameters, such as
"text/plain" for "text/pla
- getParameters
Returns an immutable sorted map of the parameters of this media type. The
parameter names are guaran
- application
- image
- hasParameters
Checks whether this media type contains parameters.
- text