Uses of Interface
org.refcodes.net.HttpMediaType
-
-
Uses of HttpMediaType in org.refcodes.net
Subinterfaces of HttpMediaType in org.refcodes.net Modifier and Type Interface Description interface
ContentType
AContentType
represents aMediaType
and its accordingTopLevelType
with additional (optional) suffixed parameters (as of the according HTTP Header-Fields).Classes in org.refcodes.net that implement HttpMediaType Modifier and Type Class Description class
ContentTypeImpl
Implementation of theContentType
interface.class
MediaType
TheMediaType
is the Media-Sub-Type part of a HTTP Media-Type.Methods in org.refcodes.net with parameters of type HttpMediaType Modifier and Type Method Description default java.util.List<ContentType>
HeaderFields. putAcceptTypes(HttpMediaType... aHttpMediaType)
Sets the Accept request-Header-FieldHeaderField.ACCEPT
.default ContentType
HeaderFields. putContentType(HttpMediaType aHttpMediaType)
Sets the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
.default B
HeaderFields. withAcceptTypes(HttpMediaType... aHttpMediaType)
Sets the Accept request-Header-FieldHeaderField.ACCEPT
.default B
HeaderFields. withContentType(HttpMediaType aHttpMediaType)
Sets the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
.Method parameters in org.refcodes.net with type arguments of type HttpMediaType Modifier and Type Method Description default java.util.List<ContentType>
HeaderFields. putAcceptTypes(java.util.List<? extends HttpMediaType> aHttpMediaTypes)
Sets the Accept request-Header-FieldHeaderField.ACCEPT
.default B
HeaderFields. withAcceptTypes(java.util.List<? extends HttpMediaType> aHttpMediaType)
Sets the Accept request-Header-FieldHeaderField.ACCEPT
.
-