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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()protected org.reactivestreams.Subscriber<? super O> protected voiddownStreamOnNext(O item) voidvoidprotected voidprotected voidvoidonSubscribe(org.reactivestreams.Subscription subscription) toString()protected org.reactivestreams.SubscriptionupStream()protected voidupStreamRequest(long n) Methods inherited from class org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher
isCancelled, request, subscribe, subscriberMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.reactivestreams.Publisher
subscribeMethods inherited from interface org.reactivestreams.Subscriber
onNext
-
Constructor Details
-
AbstractSingleProcessor
public AbstractSingleProcessor()
-
-
Method Details
-
downStream
-
onFailure
- Overrides:
onFailurein classAbstractSinglePublisher<O>
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.reactivestreams.Subscription- Overrides:
cancelin classAbstractSinglePublisher<O>
-
onRequest
- Specified by:
onRequestin classAbstractSinglePublisher<O>
-
upStreamRequest
protected void upStreamRequest(long n) -
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<I>
-
upStream
protected org.reactivestreams.Subscription upStream() -
downStreamOnNext
-
onError
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<I>
-
toString
- Overrides:
toStringin classAbstractSinglePublisher<O>
-