- toContentTypeString
Gets ContentType as string as defined inRFC 7231
[http://www.ietf.org/rfc/rfc7231.txt], chapter 3.1.
- isCompatible
ContentTypes are compatible if type and subtype have the same value.
The set parameters are always
- parse
- create
Creates a content type from an existing content type and an additional parameter
as key-value pair.
- getParameter
Returns the value of a given parameter. If the parameter does not exist the
method returns null.
- getParameters
Gets the parameters of this content type.
- getSubtype
Gets the subtype of this content type.
- <init>
Creates a content type from type, subtype, and parameters.
- areEqual
Checks whether both strings are equal ignoring the case of the strings.
- equals
ContentTypes are equal if type, subtype, and all parameters have the same value.
- getType
Gets the type of this content type.
- toString