Class SimpleSubscriber
java.lang.Object
software.amazon.awssdk.http.async.SimpleSubscriber
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
Simple subscriber that does no backpressure and doesn't care about errors or completion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidonNext(ByteBuffer byteBuffer) voidonSubscribe(org.reactivestreams.Subscription s)
-
Constructor Details
-
SimpleSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) - 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>
-