Class DefaultV4PayloadSigner
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.DefaultV4PayloadSigner
- All Implemented Interfaces:
V4PayloadSigner
A default implementation of a payload signer that is a no-op, since payloads are most commonly unsigned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsign(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.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.http.auth.aws.internal.signer.V4PayloadSigner
beforeSigning
-
Constructor Details
-
DefaultV4PayloadSigner
public DefaultV4PayloadSigner()
-
-
Method Details
-
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
-