Modifier and Type | Method | Description |
---|---|---|
static ContentEncoding |
ContentEncoding.fromHttpEncoding(String aHttpEncoding) |
Returns that
ContentEncoding represented by the given HTTP
header's encoding. |
default ContentEncoding |
HeaderFields.getContentEncoding() |
Gets the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default ContentEncoding |
HeaderFields.putContentEncoding(ContentEncoding aEncoding) |
Sets the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default ContentEncoding |
HeaderFields.removeContentEncoding() |
Removes the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
static ContentEncoding |
ContentEncoding.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ContentEncoding[] |
ContentEncoding.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
default List<ContentEncoding> |
HeaderFields.getAcceptEncodings() |
Gets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default List<ContentEncoding> |
HeaderFields.putAcceptEncodings(List<ContentEncoding> aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default List<ContentEncoding> |
HeaderFields.putAcceptEncodings(ContentEncoding... aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default List<ContentEncoding> |
HeaderFields.removeAcceptEncodings() |
Removes the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
Modifier and Type | Method | Description |
---|---|---|
default List<ContentEncoding> |
HeaderFields.putAcceptEncodings(ContentEncoding... aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default ContentEncoding |
HeaderFields.putContentEncoding(ContentEncoding aEncoding) |
Sets the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default B |
HeaderFields.withAcceptEncodings(ContentEncoding... aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default B |
HeaderFields.withContentEncoding(ContentEncoding aEncoding) |
Sets the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
Modifier and Type | Method | Description |
---|---|---|
default List<ContentEncoding> |
HeaderFields.putAcceptEncodings(List<ContentEncoding> aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
default B |
HeaderFields.withAcceptEncodings(List<ContentEncoding> aEncodings) |
Sets the the Content-Encoding entity-Header-Field
HeaderField.CONTENT_ENCODING :
"... |
Copyright © 2018. All rights reserved.