com.amazonaws.auth
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
 void presignRequest(Request<?> request, AWSCredentials credentials, java.util.Date expiration)
          Signs the request by adding the signature to the URL rather than as a header.
 

Method Detail

presignRequest

void presignRequest(Request<?> request,
                    AWSCredentials credentials,
                    java.util.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.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.