public class AmazonPollyCustomPresigner
extends com.amazonaws.auth.AWS4Signer
| Constructor and Description |
|---|
AmazonPollyCustomPresigner() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
encodeParameters(com.amazonaws.Request<?> request)
Original copy from com.amazonaws.util.HttpUtils
Creates an encoded query string from all the parameters in the specified
request.
|
protected java.io.InputStream |
getBinaryRequestPayloadStream(com.amazonaws.Request<?> request) |
protected java.lang.String |
getCanonicalizedQueryString(com.amazonaws.Request<?> request) |
protected java.lang.String |
getCanonicalizedQueryStringForListParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Examines the specified query string parameters and returns a
canonicalized form.
|
addHostHeader, addSessionCredentials, calculateContentHash, calculateContentHashPresign, computeSignature, extractRegionName, extractServiceName, getCanonicalizedHeaderString, getCanonicalRequest, getDateFromRequest, getDateStamp, getScope, getSignedHeadersString, getStringToSign, getTimeStamp, presignRequest, processRequestPayload, setRegionName, setServiceName, signgetBinaryRequestPayload, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encodeprotected java.io.InputStream getBinaryRequestPayloadStream(com.amazonaws.Request<?> request)
getBinaryRequestPayloadStream in class com.amazonaws.auth.AbstractAWSSignerpublic static java.lang.String encodeParameters(com.amazonaws.Request<?> request)
request - The request containing the parameters to encode.protected java.lang.String getCanonicalizedQueryString(com.amazonaws.Request<?> request)
getCanonicalizedQueryString in class com.amazonaws.auth.AbstractAWSSignerprotected java.lang.String getCanonicalizedQueryStringForListParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
The canonicalized query string is formed by first sorting all the query string parameters, then URI encoding both the key and value and then joining them, in order, separating key value pairs with an '&'.
parameters - The query string parameters to be canonicalized.