public class S3Signer extends AbstractAWSSigner
DEFAULT_ENCODING| コンストラクタと説明 |
|---|
S3Signer(java.lang.String httpVerb,
java.lang.String resourcePath)
Constructs a new S3Signer to sign requests based on the
AWS credentials, HTTP method and canonical S3 resource path.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given.
|
void |
sign(Request<?> request,
AWSCredentials credentials) |
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encodepublic S3Signer(java.lang.String httpVerb,
java.lang.String resourcePath)
credentials - The AWS credentials to use to sign the request.httpVerb - The HTTP verb (GET, PUT, POST, HEAD, DELETE) the request is
using.resourcePath - The canonical S3 resource path (ex: "/", "/public void sign(Request<?> request, AWSCredentials credentials) throws AmazonClientException
protected void addSessionCredentials(Request<?> request, AWSSessionCredentials credentials)
AbstractAWSSigneraddSessionCredentials クラス内 AbstractAWSSignerrequest - The request to add session credentials information tocredentials - The session credentials to add to the request