public interface HttpHeaders
MultiMap
instancesCharSequence
which can be used as header name and valueModifier and Type | Field and Description |
---|---|
static CharSequence |
ACCEPT
Accept header name
|
static CharSequence |
ACCEPT_CHARSET
Accept-Charset header name
|
static CharSequence |
ACCEPT_ENCODING
Accept-Encoding header name
|
static CharSequence |
ACCEPT_LANGUAGE
Accept-Language header name
|
static CharSequence |
ACCEPT_PATCH
Accept-Patch header name
|
static CharSequence |
ACCEPT_RANGES
Accept-Ranges header name
|
static CharSequence |
ACCESS_CONTROL_ALLOW_CREDENTIALS
Access-Control-Allow-Credentials header name
|
static CharSequence |
ACCESS_CONTROL_ALLOW_HEADERS
Access-Control-Allow-Headers header name
|
static CharSequence |
ACCESS_CONTROL_ALLOW_METHODS
Access-Control-Allow-Methods header name
|
static CharSequence |
ACCESS_CONTROL_ALLOW_ORIGIN
Access-Control-Allow-Origin header name
|
static CharSequence |
ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
Access-Control-Allow-Private-Network header name
|
static CharSequence |
ACCESS_CONTROL_EXPOSE_HEADERS
Access-Control-Expose-Headers header name
|
static CharSequence |
ACCESS_CONTROL_MAX_AGE
Access-Control-Max-Age header name
|
static CharSequence |
ACCESS_CONTROL_REQUEST_HEADERS
Access-Control-Request-Headers header name
|
static CharSequence |
ACCESS_CONTROL_REQUEST_METHOD
Access-Control-Request-Method header name
|
static CharSequence |
ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK
Access-Control-Request-Private-Network header name
|
static CharSequence |
AGE
Age header name
|
static CharSequence |
ALLOW
Allow header name
|
static CharSequence |
APPLICATION_X_WWW_FORM_URLENCODED
application/x-www-form-urlencoded header value
|
static CharSequence |
AUTHORIZATION
Authorization header name
|
static CharSequence |
CACHE_CONTROL
Cache-Control header name
|
static CharSequence |
CHUNKED
chunked header value
|
static CharSequence |
CLOSE
close header value
|
static CharSequence |
CONNECTION
Connection header name
|
static CharSequence |
CONTENT_BASE
Content-Base header name
|
static CharSequence |
CONTENT_DISPOSITION
Content-Disposition header name
|
static CharSequence |
CONTENT_ENCODING
Content-Encoding header name
|
static CharSequence |
CONTENT_LANGUAGE
Content-Language header name
|
static CharSequence |
CONTENT_LENGTH
Content-Length header name
|
static CharSequence |
CONTENT_LOCATION
Content-Location header name
|
static CharSequence |
CONTENT_MD5
Content-MD5 header name
|
static CharSequence |
CONTENT_RANGE
Content-Rage header name
|
static CharSequence |
CONTENT_TRANSFER_ENCODING
Content-Transfer-Encoding header name
|
static CharSequence |
CONTENT_TYPE
Content-Type header name
|
static CharSequence |
CONTINUE
100-continue header value
|
static CharSequence |
COOKIE
Content-Cookie header name
|
static CharSequence |
DATE
Date header name
|
static CharSequence |
DEFLATE_GZIP
deflate,gzip header value
|
static CharSequence |
DEFLATE_GZIP_BR
deflate,gzip,br header value
|
static boolean |
DISABLE_HTTP_HEADERS_VALIDATION
Constant that disables HTTP headers validation, this is a constant so the JIT can eliminate validation code.
|
static String |
DISABLE_HTTP_HEADERS_VALIDATION_PROP_NAME
JVM system property that disables HTTP headers validation, don't use this in production.
|
static CharSequence |
ETAG
Etag header name
|
static CharSequence |
EXPECT
Expect header name
|
static CharSequence |
EXPIRES
Expires header name
|
static CharSequence |
FROM
From header name
|
static CharSequence |
GET
GET header value
|
static CharSequence |
HOST
Host header name
|
static CharSequence |
IDENTITY
identity header value
|
static CharSequence |
IF_MATCH
If-Match header name
|
static CharSequence |
IF_MODIFIED_SINCE
If-Modified-Since header name
|
static CharSequence |
IF_NONE_MATCH
If-None-Match header name
|
static CharSequence |
KEEP_ALIVE
keep-alive header value
|
static CharSequence |
LAST_MODIFIED
Last-Modified header name
|
static CharSequence |
LOCATION
Location header name
|
static CharSequence |
ORIGIN
Origin header name
|
static CharSequence |
PROXY_AUTHENTICATE
Proxy-Authenticate header name
|
static CharSequence |
PROXY_AUTHORIZATION
Proxy-Authorization header name
|
static CharSequence |
REFERER
Referer header name
|
static CharSequence |
RETRY_AFTER
Retry-After header name
|
static CharSequence |
SERVER
Server header name
|
static CharSequence |
SET_COOKIE
Set-Cookie header name
|
static CharSequence |
TEXT_HTML
text/html header value
|
static CharSequence |
TRANSFER_ENCODING
Transfer-Encoding header name
|
static CharSequence |
UPGRADE
Upgrade header value
|
static CharSequence |
USER_AGENT
User-Agent header name
|
static CharSequence |
VARY
Vary header name
|
static CharSequence |
WEBSOCKET
WebSocket header value
|
Modifier and Type | Method and Description |
---|---|
static CharSequence |
createOptimized(String value)
Create an optimized
CharSequence which can be used as header name or value. |
static MultiMap |
headers() |
static MultiMap |
set(CharSequence name,
CharSequence value) |
static MultiMap |
set(String name,
String value) |
static final String DISABLE_HTTP_HEADERS_VALIDATION_PROP_NAME
static final boolean DISABLE_HTTP_HEADERS_VALIDATION
static final CharSequence ACCEPT
static final CharSequence ACCEPT_CHARSET
static final CharSequence ACCEPT_ENCODING
static final CharSequence ACCEPT_LANGUAGE
static final CharSequence ACCEPT_RANGES
static final CharSequence ACCEPT_PATCH
static final CharSequence ACCESS_CONTROL_ALLOW_CREDENTIALS
static final CharSequence ACCESS_CONTROL_ALLOW_HEADERS
static final CharSequence ACCESS_CONTROL_ALLOW_METHODS
static final CharSequence ACCESS_CONTROL_ALLOW_ORIGIN
static final CharSequence ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
static final CharSequence ACCESS_CONTROL_EXPOSE_HEADERS
static final CharSequence ACCESS_CONTROL_MAX_AGE
static final CharSequence ACCESS_CONTROL_REQUEST_HEADERS
static final CharSequence ACCESS_CONTROL_REQUEST_METHOD
static final CharSequence ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK
static final CharSequence AGE
static final CharSequence ALLOW
static final CharSequence AUTHORIZATION
static final CharSequence CACHE_CONTROL
static final CharSequence CONNECTION
static final CharSequence CONTENT_BASE
static final CharSequence CONTENT_DISPOSITION
static final CharSequence CONTENT_ENCODING
static final CharSequence CONTENT_LANGUAGE
static final CharSequence CONTENT_LENGTH
static final CharSequence CONTENT_LOCATION
static final CharSequence CONTENT_TRANSFER_ENCODING
static final CharSequence CONTENT_MD5
static final CharSequence CONTENT_RANGE
static final CharSequence CONTENT_TYPE
static final CharSequence COOKIE
static final CharSequence DATE
static final CharSequence ETAG
static final CharSequence EXPECT
static final CharSequence EXPIRES
static final CharSequence FROM
static final CharSequence HOST
static final CharSequence IF_MATCH
static final CharSequence IF_MODIFIED_SINCE
static final CharSequence IF_NONE_MATCH
static final CharSequence LAST_MODIFIED
static final CharSequence LOCATION
static final CharSequence ORIGIN
static final CharSequence PROXY_AUTHENTICATE
static final CharSequence PROXY_AUTHORIZATION
static final CharSequence REFERER
static final CharSequence RETRY_AFTER
static final CharSequence SERVER
static final CharSequence TRANSFER_ENCODING
static final CharSequence USER_AGENT
static final CharSequence SET_COOKIE
static final CharSequence APPLICATION_X_WWW_FORM_URLENCODED
static final CharSequence CHUNKED
static final CharSequence CLOSE
static final CharSequence CONTINUE
static final CharSequence IDENTITY
static final CharSequence KEEP_ALIVE
static final CharSequence UPGRADE
static final CharSequence WEBSOCKET
static final CharSequence DEFLATE_GZIP
static final CharSequence DEFLATE_GZIP_BR
static final CharSequence TEXT_HTML
static final CharSequence GET
static final CharSequence VARY
static CharSequence createOptimized(String value)
CharSequence
which can be used as header name or value.
This should be used if you expect to use it multiple times liked for example adding the same header name or value
for multiple responses or requests.static MultiMap headers()
static MultiMap set(CharSequence name, CharSequence value)
Copyright © 2024 Eclipse. All rights reserved.