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,ResponseListenerPublisher
public abstract class AbstractSingleProcessor<I,O> extends AbstractSinglePublisher<O> implements org.reactivestreams.Processor<I,O>
-
-
Constructor Summary
Constructors Constructor Description AbstractSingleProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()protected org.reactivestreams.Subscriber<? super O>downStream()protected voiddownStreamOnNext(O item)voidonComplete()voidonError(java.lang.Throwable throwable)protected voidonFailure(org.reactivestreams.Subscriber<? super O> subscriber, java.lang.Throwable failure)protected voidonRequest(org.reactivestreams.Subscriber<? super O> subscriber, long n)voidonSubscribe(org.reactivestreams.Subscription subscription)java.lang.StringtoString()protected org.reactivestreams.SubscriptionupStream()protected voidupStreamRequest(long n)-
Methods inherited from class org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher
cappedAdd, isCancelled, request, subscribe, subscriber
-
-
-
-
Method Detail
-
downStream
protected org.reactivestreams.Subscriber<? super O> downStream()
-
onFailure
protected void onFailure(org.reactivestreams.Subscriber<? super O> subscriber, java.lang.Throwable failure)
- Overrides:
onFailurein classAbstractSinglePublisher<O>
-
cancel
public void cancel()
- Specified by:
cancelin interfaceorg.reactivestreams.Subscription- Overrides:
cancelin classAbstractSinglePublisher<O>
-
onRequest
protected void onRequest(org.reactivestreams.Subscriber<? super O> subscriber, long n)
- 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
protected void downStreamOnNext(O item)
-
onError
public void onError(java.lang.Throwable throwable)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<I>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<I>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSinglePublisher<O>
-
-