Class CompletionStageMappingPublisher.CompletionStageSubscriber

java.lang.Object
graphql.execution.reactive.CompletionStageMappingPublisher.CompletionStageSubscriber
All Implemented Interfaces:
org.reactivestreams.Subscriber<U>
Enclosing class:
CompletionStageMappingPublisher<D,U>

public class CompletionStageMappingPublisher.CompletionStageSubscriber extends Object implements org.reactivestreams.Subscriber<U>
  • Constructor Details

    • CompletionStageSubscriber

      public CompletionStageSubscriber(org.reactivestreams.Subscriber<? super D> downstreamSubscriber)
  • Method Details

    • onSubscribe

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

      public void onNext(U u)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<U>
    • onError

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

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

      public org.reactivestreams.Subscriber<? super D> getDownstreamSubscriber()
      Get instance of downstream subscriber
      Returns:
      Subscriber