JVM system property that disables HTTP headers validation, don't use this in production.
StaticReadonly ETAG
ETAG:string
Etag header name
StaticReadonly EXPECT
EXPECT:string
Expect header name
StaticReadonly EXPIRES
EXPIRES:string
Expires header name
StaticReadonly FROM
FROM:string
From header name
StaticReadonly GET
GET:string
GET header value
StaticReadonly HOST
HOST:string
Host header name
StaticReadonly IDENTITY
IDENTITY:string
identity header value
StaticReadonly IF_MATCH
IF_MATCH:string
If-Match header name
StaticReadonly IF_MODIFIED_SINCE
IF_MODIFIED_SINCE:string
If-Modified-Since header name
StaticReadonly IF_NONE_MATCH
IF_NONE_MATCH:string
If-None-Match header name
StaticReadonly KEEP_ALIVE
KEEP_ALIVE:string
keep-alive header value
StaticReadonly LAST_MODIFIED
LAST_MODIFIED:string
Last-Modified header name
StaticReadonly LOCATION
LOCATION:string
Location header name
StaticReadonly ORIGIN
ORIGIN:string
Origin header name
StaticReadonly PROXY_AUTHENTICATE
PROXY_AUTHENTICATE:string
Proxy-Authenticate header name
StaticReadonly PROXY_AUTHORIZATION
PROXY_AUTHORIZATION:string
Proxy-Authorization header name
StaticReadonly REFERER
REFERER:string
Referer header name
StaticReadonly RETRY_AFTER
RETRY_AFTER:string
Retry-After header name
StaticReadonly SERVER
SERVER:string
Server header name
StaticReadonly SET_COOKIE
SET_COOKIE:string
Set-Cookie header name
StaticReadonly TEXT_HTML
TEXT_HTML:string
text/html header value
StaticReadonly TRANSFER_ENCODING
TRANSFER_ENCODING:string
Transfer-Encoding header name
StaticReadonly UPGRADE
UPGRADE:string
Upgrade header value
StaticReadonly USER_AGENT
USER_AGENT:string
User-Agent header name
StaticReadonly VARY
VARY:string
Vary header name
StaticReadonly WEBSOCKET
WEBSOCKET:string
WebSocket header value
Methods
Static createOptimized
createOptimized(value: string): string
Create an optimized 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.
Contains a bunch of useful HTTP headers stuff: