public class S3QueryStringSigner
extends com.amazonaws.auth.AbstractAWSSigner
Constructor and Description |
---|
S3QueryStringSigner(java.lang.String httpVerb,
java.lang.String resourcePath,
java.util.Date expiration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSessionCredentials(com.amazonaws.Request<?> request,
com.amazonaws.auth.AWSSessionCredentials credentials) |
void |
sign(com.amazonaws.Request<?> request,
com.amazonaws.auth.AWSCredentials credentials) |
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode
public S3QueryStringSigner(java.lang.String httpVerb, java.lang.String resourcePath, java.util.Date expiration)
httpVerb
- The HTTP verb the request to sign is using.resourcePath
- The canonical resource path portion of the S3 string to sign.expiration
- The expiration time that indicates when the request expires.public void sign(com.amazonaws.Request<?> request, com.amazonaws.auth.AWSCredentials credentials)
protected void addSessionCredentials(com.amazonaws.Request<?> request, com.amazonaws.auth.AWSSessionCredentials credentials)
addSessionCredentials
in class com.amazonaws.auth.AbstractAWSSigner