public class S3Signer
extends com.amazonaws.auth.AbstractAWSSigner
Constructor and Description |
---|
S3Signer()
Create a dummy instance of the S3Signer.
|
S3Signer(String httpVerb,
String resourcePath)
Constructs a new S3Signer to sign requests based on the
AWS credentials, HTTP method and canonical S3 resource path.
|
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 S3Signer()
public S3Signer(String httpVerb, String resourcePath)
httpVerb
- The HTTP verb (GET, PUT, POST, HEAD, DELETE) the request is
using.resourcePath
- The canonical S3 resource path (ex: "/", "/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
Copyright © 2014. All rights reserved.