Class EventStreamV4PayloadSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.eventstream.internal.signer.EventStreamV4PayloadSigner
-
- All Implemented Interfaces:
V4PayloadSigner
public class EventStreamV4PayloadSigner extends Object implements V4PayloadSigner
An implementation which supports async signing of event-stream payloads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventStreamV4PayloadSigner.Builder
-
Constructor Summary
Constructors Constructor Description EventStreamV4PayloadSigner(EventStreamV4PayloadSigner.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventStreamV4PayloadSigner.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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.auth.aws.internal.signer.V4PayloadSigner
beforeSigning
-
-
-
-
Constructor Detail
-
EventStreamV4PayloadSigner
public EventStreamV4PayloadSigner(EventStreamV4PayloadSigner.Builder builder)
-
-
Method Detail
-
builder
public static EventStreamV4PayloadSigner.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
-
-