Constants
- AGE string "age"
- AUTH_HEADER string "Authorization"
- AUTH_SCHEME_BASIC string "Basic"
- AUTH_SCHEME_BEARER string "Bearer"
- AUTHORIZATION string "authorization"
- CACHE_CONTROL string "cache-control"
- CACHE_CONTROL_AND_VALIDATORS string "CACHE_CONTROL_AND_VALIDATORS"
- CB_CLOSED_STATE string "CLOSED"
- CB_HALF_OPEN_STATE string "HALF_OPEN"
- CB_OPEN_STATE string "OPEN"
- CHUNKING_ALWAYS string "ALWAYS"
- CHUNKING_AUTO string "AUTO"
- CHUNKING_NEVER string "NEVER"
- COMPRESSION_ALWAYS string "ALWAYS"
- COMPRESSION_AUTO string "AUTO"
- COMPRESSION_NEVER string "NEVER"
- CONNECTION string "connection"
- CONTENT_LENGTH string "content-length"
- CONTENT_TYPE string "content-type"
- DATE string "date"
- ETAG string "etag"
- EXPECT string "expect"
- EXPIRES string "expires"
- FAILED string "failed"
- HTTP_DELETE string "DELETE"
- HTTP_FORWARD string "FORWARD"
- HTTP_GET string "GET"
- HTTP_HEAD string "HEAD"
- HTTP_NONE string "NONE"
- HTTP_OPTIONS string "OPTIONS"
- HTTP_PATCH string "PATCH"
- HTTP_POST string "POST"
- HTTP_PUT string "PUT"
- HTTP_SUBMIT string "SUBMIT"
- IF_MATCH string "if-match"
- IF_MODIFIED_SINCE string "if-modified-since"
- IF_NONE_MATCH string "if-none-match"
- IF_RANGE string "if-range"
- IF_UNMODIFIED_SINCE string "if-unmodified-since"
- KEEPALIVE_ALWAYS string "ALWAYS"
- KEEPALIVE_AUTO string "AUTO"
- KEEPALIVE_NEVER string "NEVER"
- LAST_MODIFIED string "last-modified"
- LEADING string "leading"
- LOCATION string "location"
- MAX_AGE string "max-age"
- MAX_STALE string "max-stale"
- MAX_STALE_ANY_AGE decimal 9223372036854775807
- MIN_FRESH string "min-fresh"
- MULTIPART_AS_PRIMARY_TYPE string "multipart/"
- MUST_REVALIDATE string "must-revalidate"
- NO_CACHE string "no-cache"
- NO_STORE string "no-store"
- NO_TRANSFORM string "no-transform"
- NONE ()
- ONLY_IF_CACHED string "only-if-cached"
- PASSED string "passed"
- PRAGMA string "pragma"
- PRIVATE string "private"
- PROXY_AUTHORIZATION string "proxy-authorization"
- PROXY_REVALIDATE string "proxy-revalidate"
- PUBLIC string "public"
- REDIRECT_FOUND_302 int 302
- REDIRECT_MOVED_PERMANENTLY_301 int 301
- REDIRECT_MULTIPLE_CHOICES_300 int 300
- REDIRECT_NOT_MODIFIED_304 int 304
- REDIRECT_PERMANENT_REDIRECT_308 int 308
- REDIRECT_SEE_OTHER_303 int 303
- REDIRECT_TEMPORARY_REDIRECT_307 int 307
- REDIRECT_USE_PROXY_305 int 305
- REQUEST_METHOD string "REQUEST_METHOD"
- RESOURCE_NAME string "RESOURCE_NAME"
- RFC_7234 string "RFC_7234"
- S_MAX_AGE string "s-maxage"
- SERVER string "server"
- SERVICE_NAME string "SERVICE_NAME"
- STATUS_ACCEPTED int 202
- STATUS_BAD_GATEWAY int 502
- STATUS_BAD_REQUEST int 400
- STATUS_CONFLICT int 409
- STATUS_CONTINUE int 100
- STATUS_CREATED int 201
- STATUS_EXPECTATION_FAILED int 417
- STATUS_FORBIDDEN int 403
- STATUS_FOUND int 302
- STATUS_GATEWAY_TIMEOUT int 504
- STATUS_GONE int 410
- STATUS_HTTP_VERSION_NOT_SUPPORTED int 505
- STATUS_INTERNAL_SERVER_ERROR int 500
- STATUS_LENGTH_REQUIRED int 411
- STATUS_METHOD_NOT_ALLOWED int 405
- STATUS_MOVED_PERMANENTLY int 301
- STATUS_MULTIPLE_CHOICES int 300
- STATUS_NO_CONTENT int 204
- STATUS_NON_AUTHORITATIVE_INFORMATION int 203
- STATUS_NOT_ACCEPTABLE int 406
- STATUS_NOT_FOUND int 404
- STATUS_NOT_IMPLEMENTED int 501
- STATUS_NOT_MODIFIED int 304
- STATUS_OK int 200
- STATUS_PARTIAL_CONTENT int 206
- STATUS_PAYLOAD_TOO_LARGE int 413
- STATUS_PAYMENT_REQUIRED int 402
- STATUS_PERMANENT_REDIRECT int 308
- STATUS_PRECONDITION_FAILED int 412
- STATUS_PROXY_AUTHENTICATION_REQUIRED int 407
- STATUS_RANGE_NOT_SATISFIABLE int 416
- STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE int 431
- STATUS_REQUEST_TIMEOUT int 408
- STATUS_RESET_CONTENT int 205
- STATUS_SEE_OTHER int 303
- STATUS_SERVICE_UNAVAILABLE int 503
- STATUS_SWITCHING_PROTOCOLS int 101
- STATUS_TEMPORARY_REDIRECT int 307
- STATUS_UNAUTHORIZED int 401
- STATUS_UNSUPPORTED_MEDIA_TYPE int 415
- STATUS_UPGRADE_REQUIRED int 426
- STATUS_URI_TOO_LONG int 414
- STATUS_USE_PROXY int 305
- TRAILING string "trailing"
- TRANSFER_ENCODING string "transfer-encoding"
- UPGRADE string "upgrade"
- WARNING string "warning"
HTTP header key age
. Gives the current age of a cached HTTP response.
Represents the Authorization header name.
The prefix used to denote the Basic authentication scheme.
The prefix used to denote the Bearer authentication scheme.
HTTP header key authorization
HTTP header key cache-control
. Specifies the cache control directives required for the function of HTTP caches.
This is a more restricted mode of RFC 7234. Setting this as the caching policy restricts caching to instances
where the cache-control
header and either the etag
or last-modified
header are present.
Represents the closed state of the circuit. When the Circuit Breaker is in CLOSED
state, all requests will be
allowed to go through to the upstream service. If the failures exceed the configured threhold values, the circuit
will trip and move to the OPEN
state.
Represents the half-open state of the circuit. When the Circuit Breaker is in HALF_OPEN
state, a trial request
will be sent to the upstream service. If it fails, the circuit will trip again and move to the OPEN
state. If not,
it will move to the CLOSED
state.
Represents the open state of the circuit. When the Circuit Breaker is in OPEN
state, requests will fail
immediately.
Always set chunking header in the response.
If the payload is less than 8KB, content-length header is set in the outbound request/response, otherwise chunking header is set in the outbound request/response.}
Never set the chunking header even if the payload is larger than 8KB in the outbound request/response.
Always set accept-encoding/content-encoding in outbound request/response.
When service behaves as a HTTP gateway inbound request/response accept-encoding option is set as the outbound request/response accept-encoding/content-encoding option.
Never set accept-encoding/content-encoding header in outbound request/response.
HTTP header key connection
. Allows the sender to specify options that are desired for that particular connection.
HTTP header key content-length
. Specifies the size of the response body in bytes.
HTTP header key content-type
. Specifies the type of the message payload.
HTTP header key date
. The timestamp at the time the response was generated/received.
HTTP header key etag
. A finger print for a resource which is used by HTTP caches to identify whether a
resource representation has changed.
HTTP header key expect
. Specifies expectations to be fulfilled by the server.
HTTP header key expires
. Specifies the time at which the response becomes stale.
Mutual SSL handshake has failed.
Constant for the HTTP DELETE method
Constant for the HTTP FORWARD method
Constant for the HTTP GET method
Constant for the HTTP HEAD method
Constant for the identify not an HTTP Operation
Constant for the HTTP OPTIONS method
Constant for the HTTP PATCH method
Constant for the HTTP POST method
Constant for the HTTP PUT method
constant for the HTTP SUBMIT method
HTTP header key if-match
HTTP header key if-modified-since
. Used when validating (with the origin server) whether a cached response
is still valid. If the representation of the resource has modified since the timestamp in this field, a
304 response is returned.
HTTP header key if-none-match
. Used when validating (with the origin server) whether a cached response is
still valid. If the ETag provided in this field matches the representation of the requested resource, a
304 response is returned.
HTTP header key if-range
HTTP header key if-unmodified-since
Keeps the connection alive irrespective of the connection
header value }
Decides to keep the connection alive or not based on the connection
header of the client request }
Closes the connection irrespective of the connection
header value }
HTTP header key last-modified
. The time at which the resource was last modified.
Header is placed before the payload of the request/response.
HTTP header key location
. Indicates the URL to redirect a request to.
When used in requests, max-age
implies that clients are not willing to accept responses whose age is greater
than max-age
. When used in responses, the response is to be considered stale after the specified
number of seconds.
Indicates that the client is willing to accept responses which have exceeded their freshness lifetime by no more than the specified number of seconds.
Setting this as the max-stale
directives indicates that the max-stale
directive does not specify a limit.
Indicates that the client is only accepting responses whose freshness lifetime >= current age + min-fresh.
Represents multipart primary type
Indicates that once the response has become stale, it should not be reused for subsequent requests without validating with the origin server.
Forces the cache to validate a cached response with the origin server before serving.
Instructs the cache to not store a response in non-volatile storage.
Instructs intermediaries not to transform the payload.
Not a mutual ssl connection.
Indicates that the client is only willing to accept a cached response. A cached response is served subject to other constraints posed by the request.
Mutual SSL handshake is successful.
HTTP header key pragma
. Used in dealing with HTTP 1.0 caches which do not understand the cache-control
header.
Indicates that the response is intended for a single user and should not be stored by shared caches.
HTTP header key proxy-authorization
. Contains the credentials to authenticate a user agent to a proxy serve.
Has the same semantics as must-revalidate
, except that this does not apply to private caches.
Indicates that any cache may store the response.
Represents the HTTP redirect status code 302 - Found
.
Represents the HTTP redirect status code 301 - Moved Permanently
.
Represents the HTTP redirect status code 300 - Multiple Choices
.
Represents the HTTP redirect status code 304 - Not Modified
.
Represents the HTTP redirect status code 308 - Permanent Redirect
.
Represents the HTTP redirect status code 303 - See Other
.
Represents the HTTP redirect status code 307 - Temporary Redirect
.
Represents the HTTP redirect status code 305 - Use Proxy
.
Constant for the request method reference.
Constant for the resource name reference.
Caching behaviour is as specified by the RFC 7234 specification.
In shared caches, s-maxage
overrides the max-age
or expires
header field.
HTTP header key server
. Specifies the details of the origin server.
Constant for the service name reference.
The HTTP response status code: 202 Accepted
The HTTP response status code: 502 Bad Gateway
The HTTP response status code: 400 Bad Request
The HTTP response status code: 409 Conflict
The HTTP response status code: 100 Continue
The HTTP response status code: 201 Created
The HTTP response status code: 417 Expectation Failed
The HTTP response status code: 403 Forbidden
The HTTP response status code: 302 Found
The HTTP response status code: 504 Gateway Timeout
The HTTP response status code: 410 Gone
The HTTP response status code: 505 HTTP Version Not Supported
The HTTP response status code: 500 Internal Server Error
The HTTP response status code: 411 Length Required
The HTTP response status code: 405 Method Not Allowed
The HTTP response status code: 301 Moved Permanently
The HTTP response status code: 300 Multiple Choices
The HTTP response status code: 204 No Content
The HTTP response status code: 203 Non Authoritative Information
The HTTP response status code: 406 Not Acceptable
The HTTP response status code: 404 Not Found
The HTTP response status code: 501 Not Implemented
The HTTP response status code: 304 Not Modified
The HTTP response status code: 200 OK
The HTTP response status code: 206 Partial Content
The HTTP response status code: 413 Payload Too Large
The HTTP response status code: 402 Payment Required
The HTTP response status code: 308 Permanent Redirect
The HTTP response status code: 412 Precondition Failed
The HTTP response status code: 407 Proxy Authentication Required
The HTTP response status code: 416 Range Not Satisfiable
The HTTP response status code: 431 Request Header Fields Too Large
The HTTP response status code: 408 Request Timeout
The HTTP response status code: 205 Reset Content
The HTTP response status code: 303 See Other
The HTTP response status code: 503 Service Unavailable
The HTTP response status code: 101 Switching Protocols
The HTTP response status code: 307 Temporary Redirect
The HTTP response status code: 401 Unauthorized
The HTTP response status code: 415 Unsupported Media Type
The HTTP response status code: 426 Upgrade Required
The HTTP response status code: 414 URI Too Long
The HTTP response status code: 305 Use Proxy
Header is placed after the payload of the request/response.
HTTP header key transfer-encoding
. Specifies what type of transformation has been applied to entity body.
HTTP header key upgrade
. Allows the client to specify what additional communication protocols it supports and
would like to use, if the server finds it appropriate to switch protocols.
HTTP header key warning
. Specifies warnings generated when serving stale responses from HTTP caches.