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 TypeMethodDescriptionvoid
cancel()
protected org.reactivestreams.Subscriber<? super O>
protected void
downStreamOnNext(O item)
void
void
protected void
protected void
void
onSubscribe(org.reactivestreams.Subscription subscription)
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
-
AbstractSingleProcessor
public AbstractSingleProcessor()
-
-
Method Details
-
downStream
-
onFailure
- Overrides:
onFailure
in classAbstractSinglePublisher<O>
-
cancel
public void cancel()- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
- Overrides:
cancel
in classAbstractSinglePublisher<O>
-
onRequest
- Specified by:
onRequest
in classAbstractSinglePublisher<O>
-
upStreamRequest
protected void upStreamRequest(long n) -
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<I>
-
upStream
protected org.reactivestreams.Subscription upStream() -
downStreamOnNext
-
onError
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<I>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<I>
-
toString
- Overrides:
toString
in classAbstractSinglePublisher<O>
-