public class AWSS3V4Signer extends AWS4Signer
AWS4Signer.HeaderSigningResultALGORITHM, doubleUrlEncode, log, overriddenDate, regionName, serviceName, TERMINATOR| Constructor and Description |
|---|
AWSS3V4Signer()
Don't double-url-encode path elements; S3 expects path elements to be
encoded only once in the canonical URI.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
calculateContentHash(Request<?> request)
Returns the pre-defined header value and set other necessary headers if
the request needs to be chunk-encoded.
|
protected java.lang.String |
calculateContentHashPresign(Request<?> request)
Calculate the hash of the request's payload.
|
protected void |
processRequestPayload(Request<?> request,
AWS4Signer.HeaderSigningResult headerSigningResult)
If necessary, creates a chunk-encoding wrapper on the request payload.
|
addHostHeader, addSessionCredentials, computeSignature, extractRegionName, extractServiceName, getCanonicalizedHeaderString, getCanonicalRequest, getDateFromRequest, getDateStamp, getScope, getSignedHeadersString, getStringToSign, getTimeStamp, presignRequest, setRegionName, setServiceName, signgetBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encodepublic AWSS3V4Signer()
protected void processRequestPayload(Request<?> request, AWS4Signer.HeaderSigningResult headerSigningResult)
processRequestPayload in class AWS4Signerprotected java.lang.String calculateContentHashPresign(Request<?> request)
AWS4SignercalculateContentHashPresign in class AWS4Signerprotected java.lang.String calculateContentHash(Request<?> request)
calculateContentHash in class AWS4Signer