Uses of Class
org.jdrupes.httpcodec.types.MediaType
Packages that use MediaType
Package
Description
Classes required for handling the HTTP protocol.
Special types related to HTTP.
-
Uses of MediaType in org.jdrupes.httpcodec.protocols.http
Methods in org.jdrupes.httpcodec.protocols.http that return MediaTypeModifier and TypeMethodDescriptionstatic MediaType
HttpResponse.contentType
(URI requestUri) Derives a media type from the given URI.Methods in org.jdrupes.httpcodec.protocols.http with parameters of type MediaTypeModifier and TypeMethodDescriptionHttpResponse.setContentType
(MediaType mediaType) Convenience method for setting the “Content-Type” header using the given media type. -
Uses of MediaType in org.jdrupes.httpcodec.types
Fields in org.jdrupes.httpcodec.types with type parameters of type MediaTypeModifier and TypeFieldDescriptionConverters.MEDIA_TYPE
A converter for a media type pair with parameters.Methods in org.jdrupes.httpcodec.types that return MediaTypeMethods in org.jdrupes.httpcodec.types with parameters of type MediaType