Class EventStreamV4PayloadSigner
java.lang.Object
software.amazon.awssdk.http.auth.aws.eventstream.internal.signer.EventStreamV4PayloadSigner
- All Implemented Interfaces:
V4PayloadSigner
An implementation which supports async signing of event-stream payloads.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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.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
-
EventStreamV4PayloadSigner
-
-
Method Details
-
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
-