Class DefaultCookiesForCustomPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.internal.cookie.DefaultCookiesForCustomPolicy
-
- All Implemented Interfaces:
CookiesForCustomPolicy,SignedCookie,ToCopyableBuilder<CookiesForCustomPolicy.Builder,CookiesForCustomPolicy>
@Immutable @ThreadSafe public final class DefaultCookiesForCustomPolicy extends Object implements CookiesForCustomPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.cloudfront.cookie.CookiesForCustomPolicy
CookiesForCustomPolicy.Builder
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.cloudfront.cookie.SignedCookie
COOKIE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookiesForCustomPolicy.Builderbuilder()SdkHttpRequestcreateHttpGetRequest()Generates an HTTP GET request that can be executed by an HTTP client to access the resourcebooleanequals(Object o)inthashCode()StringkeyPairIdHeaderValue()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]"StringpolicyHeaderValue()Returns the cookie policy header value that can be appended to an HTTP GET request i.e., "CloudFront-Policy=[POLICY_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]"CookiesForCustomPolicy.BuildertoBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static CookiesForCustomPolicy.Builder builder()
-
toBuilder
public CookiesForCustomPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CookiesForCustomPolicy.Builder,CookiesForCustomPolicy>
-
resourceUrl
public String resourceUrl()
Description copied from interface:SignedCookieReturns the resource URL- Specified by:
resourceUrlin interfaceSignedCookie
-
createHttpGetRequest
public SdkHttpRequest createHttpGetRequest()
Description copied from interface:SignedCookieGenerates an HTTP GET request that can be executed by an HTTP client to access the resource- Specified by:
createHttpGetRequestin interfaceSignedCookie
-
signatureHeaderValue
public String signatureHeaderValue()
Description copied from interface:SignedCookieReturns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"- Specified by:
signatureHeaderValuein interfaceSignedCookie
-
keyPairIdHeaderValue
public String keyPairIdHeaderValue()
Description copied from interface:SignedCookieReturns 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]"- Specified by:
keyPairIdHeaderValuein interfaceSignedCookie
-
policyHeaderValue
public String policyHeaderValue()
Description copied from interface:CookiesForCustomPolicyReturns the cookie policy header value that can be appended to an HTTP GET request i.e., "CloudFront-Policy=[POLICY_VALUE]"- Specified by:
policyHeaderValuein interfaceCookiesForCustomPolicy
-
-