Modifier and Type | Class | Description |
---|---|---|
class |
ContentTypeImpl |
Implementation of the
ContentType interface. |
Modifier and Type | Method | Description |
---|---|---|
ContentType |
ContentTypeAccessor.getContentType() |
Retrieves the Content-Type from the Content-Type property.
|
default ContentType |
HeaderFields.getContentType() |
Gets the Content-Type entity-Header-Field
HeaderField.CONTENT_TYPE :
"... |
default ContentType |
HeaderFields.putContentType(HttpMediaType aHttpMediaType) |
Sets the Content-Type entity-Header-Field
HeaderField.CONTENT_TYPE . |
default ContentType |
HeaderFields.putContentType(MediaType aMediaType,
Map<String,String> aParameters) |
Sets the Content-Type entity-Header-Field
HeaderField.CONTENT_TYPE . :
"... |
default ContentType |
HeaderFields.removeContentType() |
Removes the Content-Type entity-Header-Field
HeaderField.CONTENT_TYPE . :
"... |
ContentType |
ContentTypeAccessor.ContentTypeProvider.toContentType() |
Returns the
ContentType instance from the implementing
instance. |
ContentType |
MediaType.toContentType() |
Returns a
ContentType instance from the available data. |
default ContentType |
ContentType.withCharsetParametrer(String aValue) |
Sets the charset parameter's charset-code.
|
default ContentType |
ContentType.withPut(String aKey,
String aValue) |
|
default ContentType |
ContentType.withPut(MediaTypeParameter aParameter,
String aValue) |
With put.
|
default ContentType |
ContentType.withPut(org.refcodes.structure.Relation<String,String> aProperty) |
Modifier and Type | Method | Description |
---|---|---|
default List<ContentType> |
HeaderFields.getAcceptTypes() |
Gets the Accept request-Header-Field
HeaderField.ACCEPT :
"... |
default List<ContentType> |
HeaderFields.putAcceptTypes(List<? extends HttpMediaType> aHttpMediaTypes) |
Sets the Accept request-Header-Field
HeaderField.ACCEPT . |
default List<ContentType> |
HeaderFields.putAcceptTypes(HttpMediaType... aHttpMediaType) |
Sets the Accept request-Header-Field
HeaderField.ACCEPT . |
default List<ContentType> |
HeaderFields.removeAcceptTypes() |
Removes the Accept request-Header-Field
HeaderField.ACCEPT :
"... |
Modifier and Type | Method | Description |
---|---|---|
void |
ContentTypeAccessor.ContentTypeMutator.setContentType(ContentType aContentType) |
Sets the Content-Type for the Content-Type property.
|
B |
ContentTypeAccessor.ContentTypeBuilder.withContentType(ContentType aContentType) |
Sets the Content-Type for the Content-Type property.
|
Copyright © 2018. All rights reserved.