Class ChecksumSubscriber
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.io.ChecksumSubscriber
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
public final class ChecksumSubscriber
extends Object
implements org.reactivestreams.Subscriber<ByteBuffer>
A subscriber that takes a collection of checksums, and updates each checksum when it receives data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<org.reactivestreams.Publisher<ByteBuffer>> voidvoidvoidonNext(ByteBuffer byteBuffer) voidonSubscribe(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
ChecksumSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
completeFuture
-