Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
Modifier and Type | Method and 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 and Description |
---|---|
default List<ContentEncoding> |
HeaderFields.getAcceptEncodings()
Gets 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.putAcceptEncodings(List<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 and 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 and 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 © 2017. All rights reserved.