Class BaseSubscriberAdapter<T,U>
java.lang.Object
software.amazon.awssdk.utils.async.DelegatingSubscriber<T,U>
software.amazon.awssdk.utils.async.BaseSubscriberAdapter<T,U>
- Type Parameters:
T- the type that the delegate subscriber demands.U- the type sent by the publisher this subscriber is subscribed to.
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Direct Known Subclasses:
DelegatingBufferingSubscriber,FlatteningSubscriber
Base of subscribers that can adapt one type to another. This subscriber will receive onNext signal with the
U type,
but will need to fulfill the downstream demand of the delegate
subscriber with instance of the T type.-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription subscription)
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>- Overrides:
onSubscribein classDelegatingSubscriber<T,U>
-
onNext
-
onError
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>- Overrides:
onCompletein classDelegatingSubscriber<T,U>
-