Interface SignedUrl

All Known Implementing Classes:
DefaultSignedUrl

public interface SignedUrl
Base interface class for CloudFront signed URLs
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates an HTTP GET request that can be executed by an HTTP client to access the resource
    Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.net
    Returns the encoded path of the signed URL
    Returns the protocol, i.e., HTTPS / HTTP
    url()
    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