Class AbstractSingleProcessor<I,​O>

java.lang.Object
org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher<O>
org.eclipse.jetty.reactive.client.internal.AbstractSingleProcessor<I,​O>
All Implemented Interfaces:
org.reactivestreams.Processor<I,​O>, org.reactivestreams.Publisher<O>, org.reactivestreams.Subscriber<I>, org.reactivestreams.Subscription
Direct Known Subclasses:
BufferingProcessor, DiscardingProcessor, PublisherContent, ResponseListenerProcessor

public abstract class AbstractSingleProcessor<I,​O>
extends AbstractSinglePublisher<O>
implements org.reactivestreams.Processor<I,​O>
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractSingleProcessor()  
  • Method Summary

    Modifier and Type Method Description
    void cancel()  
    protected org.reactivestreams.Subscriber<? super O> downStream()  
    protected void downStreamOnNext​(O item)  
    void onComplete()  
    void onError​(java.lang.Throwable throwable)  
    protected void onFailure​(org.reactivestreams.Subscriber<? super O> subscriber, java.lang.Throwable failure)  
    protected void onRequest​(org.reactivestreams.Subscriber<? super O> subscriber, long n)  
    void onSubscribe​(org.reactivestreams.Subscription subscription)  
    java.lang.String toString()  
    protected org.reactivestreams.Subscription upStream()  
    protected void upStreamRequest​(long n)  

    Methods inherited from class org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher

    isCancelled, request, subscribe, subscriber

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.reactivestreams.Publisher

    subscribe

    Methods inherited from interface org.reactivestreams.Subscriber

    onNext
  • Constructor Details

  • Method Details

    • downStream

      protected org.reactivestreams.Subscriber<? super O> downStream()
    • onFailure

      protected void onFailure​(org.reactivestreams.Subscriber<? super O> subscriber, java.lang.Throwable failure)
      Overrides:
      onFailure in class AbstractSinglePublisher<O>
    • cancel

      public void cancel()
      Specified by:
      cancel in interface org.reactivestreams.Subscription
      Overrides:
      cancel in class AbstractSinglePublisher<O>
    • onRequest

      protected void onRequest​(org.reactivestreams.Subscriber<? super O> subscriber, long n)
      Specified by:
      onRequest in class AbstractSinglePublisher<O>
    • upStreamRequest

      protected void upStreamRequest​(long n)
    • onSubscribe

      public void onSubscribe​(org.reactivestreams.Subscription subscription)
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<I>
    • upStream

      protected org.reactivestreams.Subscription upStream()
    • downStreamOnNext

      protected void downStreamOnNext​(O item)
    • onError

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

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

      public java.lang.String toString()
      Overrides:
      toString in class AbstractSinglePublisher<O>