Interface SignedCookie
-
- All Known Subinterfaces:
CookiesForCannedPolicy,CookiesForCustomPolicy
- All Known Implementing Classes:
DefaultCookiesForCannedPolicy,DefaultCookiesForCustomPolicy
@Immutable @ThreadSafe public interface SignedCookie
Base interface class for CloudFront signed cookies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SdkHttpRequestcreateHttpGetRequest()Generates an HTTP GET request that can be executed by an HTTP client to access the resourceStringkeyPairIdHeaderValue()Returns the cookie key-pair-Id header value that can be appended to an HTTP GET request i.e., "CloudFront-Key-Pair-Id=[KEY_PAIR_ID_VALUE]"StringresourceUrl()Returns the resource URLStringsignatureHeaderValue()Returns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"
-
-
-
Field Detail
-
COOKIE
static final String COOKIE
- See Also:
- Constant Field Values
-
-
Method Detail
-
resourceUrl
String resourceUrl()
Returns the resource URL
-
createHttpGetRequest
SdkHttpRequest createHttpGetRequest()
Generates an HTTP GET request that can be executed by an HTTP client to access the resource
-
signatureHeaderValue
String signatureHeaderValue()
Returns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"
-
keyPairIdHeaderValue
String keyPairIdHeaderValue()
Returns the cookie key-pair-Id header value that can be appended to an HTTP GET request i.e., "CloudFront-Key-Pair-Id=[KEY_PAIR_ID_VALUE]"
-
-