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

@SdkProtectedApi public abstract class DelegatingSubscriber<T,U> extends Object implements org.reactivestreams.Subscriber<T>
  • Field Details

    • subscriber

      protected final org.reactivestreams.Subscriber<? super U> subscriber
  • Constructor Details

    • DelegatingSubscriber

      protected DelegatingSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
  • Method Details

    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription subscription)
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<T>
    • onError

      public void onError(Throwable throwable)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<T>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<T>