Uses of Record Class
cloud.opencode.base.web.http.MediaType
Packages that use MediaType
-
Uses of MediaType in cloud.opencode.base.web.http
Fields in cloud.opencode.base.web.http declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMediaType.ALLWildcard media type: */*static final MediaTypeMediaType.APPLICATION_JSONapplication/jsonstatic final MediaTypeMediaType.APPLICATION_OCTET_STREAMapplication/octet-streamstatic final MediaTypeMediaType.APPLICATION_XMLapplication/xmlstatic final MediaTypeMediaType.TEXT_HTMLtext/htmlstatic final MediaTypeMediaType.TEXT_PLAINtext/plainMethods in cloud.opencode.base.web.http that return MediaTypeModifier and TypeMethodDescriptionstatic MediaTypeCreate a MediaType with type and subtype only.static MediaTypeCreate a MediaType with type, subtype, and parameters.static MediaTypeParse a single media type string (e.g., "application/json; charset=utf-8").Methods in cloud.opencode.base.web.http that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionFind the best match from available media types given acceptable types.MediaType.parseAccept(String acceptHeader) Parse an HTTP Accept header into a list of media types sorted by quality factor (descending).Methods in cloud.opencode.base.web.http with parameters of type MediaTypeModifier and TypeMethodDescriptionbooleanCheck if this media type includes the other (wildcard matching).Method parameters in cloud.opencode.base.web.http with type arguments of type MediaType