-
A
MediaType constant representing
application/atom+xml media type.
A
MediaType constant representing
application/x-www-form-urlencoded media type.
A
MediaType constant representing
application/javascript media type.
A
MediaType constant representing
application/json media type.
A
MediaType constant representing
application/octet-stream media type.
A
MediaType constant representing OpenAPI json.
A
MediaType constant representing OpenAPI yaml.
A
MediaType constant representing the
application/openmetrics-text media type.
A
MediaType constant representing
application/stream+json media type.
A
MediaType constant representing
application/svg+xml media type.
A
MediaType constant representing
application/x-ndjson media type.
A
MediaType constant representing "x" YAML as application.
A
MediaType constant representing
application/xhtml+xml media type.
A
MediaType constant representing
application/xml media type.
A
MediaType constant representing pseudo-registered YAML.
A
MediaType constant representing
multipart/form-data media type.
A
MediaType constant representing
text/event-stream media type.
A
MediaType constant representing
text/html media type.
A
MediaType constant representing
text/plain media type.
A
MediaType constant representing "x" YAML as text.
A
MediaType constant representing
text/xml media type.
A
MediaType constant representing pseudo-registered YAML as text.
A
MediaType constant representing wildcard media type.
Predicate to test if
MediaType is
text/event-stream without any parameter or with parameter "element-type".
Predicate to test if
MediaType is
application/json or has
json suffix.
Predicate to test if
MediaType is
application/xml or
text/xml or has
xml suffix.
MediaType.Builder.build()
Creates a new instance of MediaType with the supplied type and subtype.
Parses a media type from its string representation.
Create a new
MediaType instance with the same type, subtype and parameters
copied from the original instance and the supplied
"charset" parameter.
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Check if this media type is compatible with another media type.