Package io.vertx.ext.web
Interface MIMEHeader
-
- All Superinterfaces:
ParsedHeaderValue
public interface MIMEHeader extends ParsedHeaderValue
-
-
Field Summary
-
Fields inherited from interface io.vertx.ext.web.ParsedHeaderValue
DEFAULT_WEIGHT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
component()
Gets the parsed component part of the MIME.String
mediaType()
Gets the MIME media type string.String
mediaTypeWithParams()
Gets the MIME media type string with parameters attached.String
subComponent()
Gets the parsed subcomponent part of the MIME.-
Methods inherited from interface io.vertx.ext.web.ParsedHeaderValue
findMatchedBy, isMatchedBy, isPermitted, parameter, parameters, rawValue, value, weight, weightedOrder
-
-
-
-
Method Detail
-
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.
-
-