Class AwsChunkedV4PayloadSigner
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner
- All Implemented Interfaces:
- V4PayloadSigner
@SdkInternalApi
public final class AwsChunkedV4PayloadSigner
extends Object
implements V4PayloadSigner
An implementation of a V4PayloadSigner which chunk-encodes a payload, optionally adding a chunk-signature chunk-extension,
 and/or trailers representing trailing headers with their signature at the end.
- 
Method SummaryModifier and TypeMethodDescriptionvoidbeforeSigning(SdkHttpRequest.Builder request, ContentStreamProvider payload) Modify a request before it is signed, such as changing headers or query-parameters.CompletableFuture<Pair<SdkHttpRequest.Builder, Optional<org.reactivestreams.Publisher<ByteBuffer>>>> beforeSigningAsync(SdkHttpRequest.Builder request, org.reactivestreams.Publisher<ByteBuffer> payload) static software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner.Builderbuilder()sign(ContentStreamProvider payload, V4RequestSigningResult requestSigningResult) Given a payload and result of request signing, sign the payload via the SigV4 process.org.reactivestreams.Publisher<ByteBuffer> signAsync(org.reactivestreams.Publisher<ByteBuffer> payload, V4RequestSigningResult requestSigningResult) Given a payload and result of request signing, sign the payload via the SigV4 process.
- 
Method Details- 
builderpublic static software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner.Builder builder()
- 
signpublic ContentStreamProvider sign(ContentStreamProvider payload, V4RequestSigningResult requestSigningResult) Description copied from interface:V4PayloadSignerGiven a payload and result of request signing, sign the payload via the SigV4 process.- Specified by:
- signin interface- V4PayloadSigner
 
- 
signAsyncpublic org.reactivestreams.Publisher<ByteBuffer> signAsync(org.reactivestreams.Publisher<ByteBuffer> payload, V4RequestSigningResult requestSigningResult) Description copied from interface:V4PayloadSignerGiven a payload and result of request signing, sign the payload via the SigV4 process.- Specified by:
- signAsyncin interface- V4PayloadSigner
 
- 
beforeSigningDescription copied from interface:V4PayloadSignerModify a request before it is signed, such as changing headers or query-parameters.- Specified by:
- beforeSigningin interface- V4PayloadSigner
 
- 
beforeSigningAsyncpublic CompletableFuture<Pair<SdkHttpRequest.Builder,Optional<org.reactivestreams.Publisher<ByteBuffer>>>> beforeSigningAsync(SdkHttpRequest.Builder request, org.reactivestreams.Publisher<ByteBuffer> payload) - Specified by:
- beforeSigningAsyncin interface- V4PayloadSigner
 
 
-