Class ChecksumSubscriber
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.io.ChecksumSubscriber
- All Implemented Interfaces:
- org.reactivestreams.Subscriber<ByteBuffer>
@SdkInternalApi
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCompletableFuture<org.reactivestreams.Publisher<ByteBuffer>> voidvoidvoidonNext(ByteBuffer byteBuffer) voidonSubscribe(org.reactivestreams.Subscription subscription) 
- 
Constructor Details- 
ChecksumSubscriber
 
- 
- 
Method Details- 
onSubscribepublic void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
- onSubscribein interface- org.reactivestreams.Subscriber<ByteBuffer>
 
- 
onNext- Specified by:
- onNextin interface- org.reactivestreams.Subscriber<ByteBuffer>
 
- 
onError- Specified by:
- onErrorin interface- org.reactivestreams.Subscriber<ByteBuffer>
 
- 
onCompletepublic void onComplete()- Specified by:
- onCompletein interface- org.reactivestreams.Subscriber<ByteBuffer>
 
- 
completeFuture
 
-