public abstract class BaseEventStreamAsyncAws4Signer extends BaseAsyncAws4Signer
| Modifier and Type | Field and Description | 
|---|---|
static String | 
EVENT_STREAM_DATE  | 
static String | 
EVENT_STREAM_SIGNATURE  | 
EMPTY_STRING_SHA256_HEX| Modifier | Constructor and Description | 
|---|---|
protected  | 
BaseEventStreamAsyncAws4Signer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
calculateContentHash(SdkHttpFullRequest.Builder mutableRequest,
                    Aws4SignerParams signerParams)
Returns the pre-defined header value and set other necessary headers if
 the request needs to be chunk-encoded. 
 | 
SdkHttpFullRequest | 
sign(SdkHttpFullRequest request,
    Aws4SignerParams signingParams)  | 
SdkHttpFullRequest | 
sign(SdkHttpFullRequest request,
    ExecutionAttributes executionAttributes)  | 
protected AsyncRequestBody | 
transformRequestProvider(String headerSignature,
                        byte[] signingKey,
                        Aws4SignerRequestParams signerRequestParams,
                        Aws4SignerParams signerParams,
                        AsyncRequestBody asyncRequestBody)
Transform the original requestProvider by adding signing operator and returns a new requestProvider
 Can be overriden by subclasses to provide specific signing method 
 | 
signAsync, signAsyncRequestBodycalculateContentHashPresign, presign, presign, processRequestPayloadaddSessionCredentials, deriveSigningKey, doPresign, doSign, extractPresignerParams, extractSignerParamsgetBinaryRequestPayloadStream, getCanonicalizedEndpoint, getCanonicalizedQueryString, sanitizeCredentials, sign, sign, signAndBase64Encode, signWithMacpublic static final String EVENT_STREAM_SIGNATURE
public static final String EVENT_STREAM_DATE
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
sign in interface Signersign in class BaseAws4Signerpublic SdkHttpFullRequest sign(SdkHttpFullRequest request, Aws4SignerParams signingParams)
sign in class BaseAws4Signerprotected AsyncRequestBody transformRequestProvider(String headerSignature, byte[] signingKey, Aws4SignerRequestParams signerRequestParams, Aws4SignerParams signerParams, AsyncRequestBody asyncRequestBody)
BaseAsyncAws4SignertransformRequestProvider in class BaseAsyncAws4Signerprotected String calculateContentHash(SdkHttpFullRequest.Builder mutableRequest, Aws4SignerParams signerParams)
calculateContentHash in class AbstractAws4Signer<Aws4SignerParams,Aws4PresignerParams>Copyright © 2019. All rights reserved.