Class DelegatingSubscriber<T,U>
- java.lang.Object
-
- software.amazon.awssdk.utils.async.DelegatingSubscriber<T,U>
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Direct Known Subclasses:
AddingTrailingDataSubscriber,BaseSubscriberAdapter,BufferingSubscriber,EventListeningSubscriber,FilteringSubscriber,LimitingSubscriber
public abstract class DelegatingSubscriber<T,U> extends Object implements org.reactivestreams.Subscriber<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.reactivestreams.Subscriber<? super U>subscriber
-
Constructor Summary
Constructors Modifier Constructor Description protectedDelegatingSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(Throwable throwable)voidonSubscribe(org.reactivestreams.Subscription subscription)
-
-
-
Field Detail
-
subscriber
protected final org.reactivestreams.Subscriber<? super U> subscriber
-
-
Constructor Detail
-
DelegatingSubscriber
protected DelegatingSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(Throwable throwable)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
-