Interface Presigner

All Known Implementing Classes:
AWS4Signer

public interface Presigner
A request signer that has special-case logic to presign requests, generating a URL which embeds the signature suitable for hyperlinking.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    presignRequest(SignableRequest<?> request, AWSCredentials credentials, Date expiration)
    Signs the request by adding the signature to the URL rather than as a header.
  • Method Details

    • presignRequest

      void presignRequest(SignableRequest<?> request, AWSCredentials credentials, Date expiration)
      Signs the request by adding the signature to the URL rather than as a header. This method is expected to modify the passed-in request to add the signature.
      Parameters:
      request - The request to sign.
      credentials - The credentials to sign it with.
      expiration - The time when this presigned URL will expire.