Class AwsChunkedV4PayloadSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner
-
- All Implemented Interfaces:
V4PayloadSigner
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeSigning(SdkHttpRequest.Builder request, ContentStreamProvider payload)Modify a request before it is signed, such as changing headers or query-parameters.static software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner.Builderbuilder()ContentStreamProvidersign(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 Detail
-
builder
public static software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner.Builder builder()
-
sign
public 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 interfaceV4PayloadSigner
-
signAsync
public 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 interfaceV4PayloadSigner
-
beforeSigning
public void beforeSigning(SdkHttpRequest.Builder request, ContentStreamProvider payload)
Description copied from interface:V4PayloadSignerModify a request before it is signed, such as changing headers or query-parameters.- Specified by:
beforeSigningin interfaceV4PayloadSigner
-
-