Interface V4PayloadSigner
-
- All Known Implementing Classes:
AwsChunkedV4PayloadSigner,DefaultV4PayloadSigner,EventStreamV4PayloadSigner
public interface V4PayloadSignerAn interface for defining how to sign a payload via SigV4.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidbeforeSigning(SdkHttpRequest.Builder request, ContentStreamProvider payload)Modify a request before it is signed, such as changing headers or query-parameters.static V4PayloadSignercreate()Get a default implementation of a SigV4 payload signer.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
-
create
static V4PayloadSigner create()
Get a default implementation of a SigV4 payload signer.
-
sign
ContentStreamProvider sign(ContentStreamProvider payload, V4RequestSigningResult requestSigningResult)
Given a payload and result of request signing, sign the payload via the SigV4 process.
-
signAsync
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.
-
beforeSigning
default void beforeSigning(SdkHttpRequest.Builder request, ContentStreamProvider payload)
Modify a request before it is signed, such as changing headers or query-parameters.
-
-