Package com.github.ambry.rest
Class RestUtils.InternalKeys
- java.lang.Object
-
- com.github.ambry.rest.RestUtils.InternalKeys
-
- Enclosing class:
- RestUtils
public static final class RestUtils.InternalKeys extends java.lang.Object
Ambry specific keys used internally in aRestRequest
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEEP_ALIVE_ON_ERROR_HINT
To be set if the operation knows the keep-alive behavior it prefers on error.static java.lang.String
REQUEST_PATH
The key for theRequestPath
that represents the parsed path of an incoming request.static java.lang.String
SEND_FAILURE_REASON
To be set totrue
if failures reason should be attached to frontend responses.static java.lang.String
SEND_TRACKING_INFO
To be set totrue
if tracking info should be attached to frontend responses.static java.lang.String
SEND_USER_METADATA_AS_RESPONSE_BODY
Set totrue
(assumedfalse
if absent) if the user metadata needs to be sent as the body of the response.static java.lang.String
SIGNED_ID_METADATA_KEY
The key for the metadataMap<String, String>
to include in a signed ID.static java.lang.String
TARGET_ACCOUNT_KEY
The key for the targetAccount
indicated by the request.static java.lang.String
TARGET_CONTAINER_KEY
The key for the targetContainer
indicated by the request.
-
Constructor Summary
Constructors Constructor Description InternalKeys()
-
-
-
Field Detail
-
TARGET_ACCOUNT_KEY
public static final java.lang.String TARGET_ACCOUNT_KEY
The key for the targetAccount
indicated by the request.- See Also:
- Constant Field Values
-
TARGET_CONTAINER_KEY
public static final java.lang.String TARGET_CONTAINER_KEY
The key for the targetContainer
indicated by the request.- See Also:
- Constant Field Values
-
SIGNED_ID_METADATA_KEY
public static final java.lang.String SIGNED_ID_METADATA_KEY
The key for the metadataMap<String, String>
to include in a signed ID. This argument should be non-null to indicate that a signed ID should be created and returned to the requester on a POST request.- See Also:
- Constant Field Values
-
KEEP_ALIVE_ON_ERROR_HINT
public static final java.lang.String KEEP_ALIVE_ON_ERROR_HINT
To be set if the operation knows the keep-alive behavior it prefers on error. Valid values are boolean. Not authoritative, only a hint- See Also:
- Constant Field Values
-
SEND_TRACKING_INFO
public static final java.lang.String SEND_TRACKING_INFO
To be set totrue
if tracking info should be attached to frontend responses.- See Also:
- Constant Field Values
-
SEND_USER_METADATA_AS_RESPONSE_BODY
public static final java.lang.String SEND_USER_METADATA_AS_RESPONSE_BODY
Set totrue
(assumedfalse
if absent) if the user metadata needs to be sent as the body of the response.- See Also:
- Constant Field Values
-
REQUEST_PATH
public static final java.lang.String REQUEST_PATH
The key for theRequestPath
that represents the parsed path of an incoming request.- See Also:
- Constant Field Values
-
SEND_FAILURE_REASON
public static final java.lang.String SEND_FAILURE_REASON
To be set totrue
if failures reason should be attached to frontend responses.- See Also:
- Constant Field Values
-
-