Class AwsChunkedV4PayloadSigner
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.AwsChunkedV4PayloadSigner
- All Implemented Interfaces:
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
Modifier and TypeMethodDescriptionvoid
beforeSigning
(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.Builder
builder()
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
-
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:V4PayloadSigner
Given a payload and result of request signing, sign the payload via the SigV4 process.- Specified by:
sign
in interfaceV4PayloadSigner
-
signAsync
public org.reactivestreams.Publisher<ByteBuffer> signAsync(org.reactivestreams.Publisher<ByteBuffer> payload, V4RequestSigningResult requestSigningResult) Description copied from interface:V4PayloadSigner
Given a payload and result of request signing, sign the payload via the SigV4 process.- Specified by:
signAsync
in interfaceV4PayloadSigner
-
beforeSigning
Description copied from interface:V4PayloadSigner
Modify a request before it is signed, such as changing headers or query-parameters.- Specified by:
beforeSigning
in interfaceV4PayloadSigner
-