Class CompletionStageMappingPublisher.CompletionStageSubscriber

  • All Implemented Interfaces:
    org.reactivestreams.Subscriber<U>
    Enclosing class:
    CompletionStageMappingPublisher<D,​U>

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

      Constructors 
      Constructor Description
      CompletionStageSubscriber​(org.reactivestreams.Subscriber<? super D> downstreamSubscriber)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.reactivestreams.Subscriber<? super D> getDownstreamSubscriber()
      Get instance of downstream subscriber
      void onComplete()  
      void onError​(java.lang.Throwable t)  
      void onNext​(U u)  
      void onSubscribe​(org.reactivestreams.Subscription subscription)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompletionStageSubscriber

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

      • 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​(java.lang.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