Interface MIMEHeader
- All Superinterfaces:
ParsedHeaderValue
-
Field Summary
Fields inherited from interface ParsedHeaderValue
DEFAULT_WEIGHT -
Method Summary
Modifier and TypeMethodDescriptionGets the parsed component part of the MIME.Gets the MIME media type string.Gets the MIME media type string with parameters attached.Gets the parsed subcomponent part of the MIME.Methods inherited from interface ParsedHeaderValue
findMatchedBy, isMatchedBy, isPermitted, parameter, parameters, rawValue, value, weight, weightedOrder
-
Method Details
-
component
String component()Gets the parsed component part of the MIME. This is the string between the beginning and the first'/'of the MIME- Returns:
- The component of the MIME this represents
-
subComponent
String subComponent()Gets the parsed subcomponent part of the MIME. This is the string between the first'/'and the';'or the end of the MIME- Returns:
- The subcomponent of the MIME this represents
-
mediaType
String mediaType()Gets the MIME media type string. This includes both the component and subcomponent parts of the MIME type.- Returns:
- The MIME media type string.
-
mediaTypeWithParams
String mediaTypeWithParams()Gets the MIME media type string with parameters attached. This includes both the component and subcomponent parts of the MIME type, and parameters.- Returns:
- The MIME media type string.
-