Interface SignedCookie
- All Known Subinterfaces:
CookiesForCannedPolicy
,CookiesForCustomPolicy
- All Known Implementing Classes:
DefaultCookiesForCannedPolicy
,DefaultCookiesForCustomPolicy
Base interface class for CloudFront signed cookies
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerates an HTTP GET request that can be executed by an HTTP client to access the resourceReturns 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]"Returns the resource URLReturns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"
-
Field Details
-
COOKIE
- See Also:
-
-
Method Details
-
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]"
-