Package | Description |
---|---|
org.refcodes.net | |
org.refcodes.net.impls |
Modifier and Type | Interface and Description |
---|---|
interface |
ContentType
A
ContentType represents a MediaType and its according
TopLevelType with additional (optional) suffixed parameters (as of
the according HTTP header fields). |
Modifier and Type | Class and Description |
---|---|
class |
MediaType
The
MediaType is the Media-Sub-Type part of a HTTP Media-Type. |
Modifier and Type | Method and Description |
---|---|
default List<ContentType> |
HeaderFields.putAcceptTypes(HttpMediaType... aHttpMediaType)
Sets the Accept request-header field
HeaderField.ACCEPT . |
default ContentType |
HeaderFields.putContentType(HttpMediaType aHttpMediaType)
Sets the Content-Type entity-header field
HeaderField.CONTENT_TYPE . |
default B |
HeaderFields.withAcceptTypes(HttpMediaType... aHttpMediaType)
Sets the Accept request-header field
HeaderField.ACCEPT . |
default B |
HeaderFields.withContentType(HttpMediaType aHttpMediaType)
Sets the Content-Type entity-header field
HeaderField.CONTENT_TYPE . |
Modifier and Type | Method and Description |
---|---|
default List<ContentType> |
HeaderFields.putAcceptTypes(List<? extends HttpMediaType> aHttpMediaTypes)
Sets the Accept request-header field
HeaderField.ACCEPT . |
default B |
HeaderFields.withAcceptTypes(List<? extends HttpMediaType> aHttpMediaType)
Sets the Accept request-header field
HeaderField.ACCEPT . |
Modifier and Type | Class and Description |
---|---|
class |
ContentTypeImpl
Implementation of the
ContentType interface. |
Copyright © 2016. All rights reserved.