Interface SignedUrl
- All Known Implementing Classes:
DefaultSignedUrl
public interface SignedUrl
Base interface class for CloudFront signed URLs
-
Method Summary
Modifier and TypeMethodDescriptionGenerates an HTTP GET request that can be executed by an HTTP client to access the resourcedomain()
Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.netReturns the encoded path of the signed URLprotocol()
Returns the protocol, i.e., HTTPS / HTTPurl()
Returns the signed URL that can be provided to users to access your private content
-
Method Details
-
protocol
String protocol()Returns the protocol, i.e., HTTPS / HTTP -
domain
String domain()Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.net -
encodedPath
String encodedPath()Returns the encoded path of the signed URL -
url
String url()Returns the signed URL that can be provided to users to access your private content -
createHttpGetRequest
SdkHttpRequest createHttpGetRequest()Generates an HTTP GET request that can be executed by an HTTP client to access the resource
-