public abstract class AbstractSingleProcessor<I,O> extends AbstractSinglePublisher<O> implements org.reactivestreams.Processor<I,O>
| Constructor and Description |
|---|
AbstractSingleProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected org.reactivestreams.Subscriber<? super O> |
downStream() |
protected void |
downStreamOnNext(O item) |
void |
onComplete() |
void |
onError(Throwable throwable) |
protected void |
onFailure(org.reactivestreams.Subscriber<? super O> subscriber,
Throwable failure) |
protected void |
onRequest(org.reactivestreams.Subscriber<? super O> subscriber,
long n) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
String |
toString() |
protected org.reactivestreams.Subscription |
upStream() |
protected void |
upStreamRequest(long n) |
isCancelled, request, subscribe, subscriberprotected org.reactivestreams.Subscriber<? super O> downStream()
protected void onFailure(org.reactivestreams.Subscriber<? super O> subscriber, Throwable failure)
onFailure in class AbstractSinglePublisher<O>public void cancel()
cancel in interface org.reactivestreams.Subscriptioncancel in class AbstractSinglePublisher<O>protected void onRequest(org.reactivestreams.Subscriber<? super O> subscriber, long n)
onRequest in class AbstractSinglePublisher<O>protected void upStreamRequest(long n)
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<I>protected org.reactivestreams.Subscription upStream()
protected void downStreamOnNext(O item)
public void onError(Throwable throwable)
onError in interface org.reactivestreams.Subscriber<I>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<I>public String toString()
toString in class AbstractSinglePublisher<O>Copyright © 2017–2024 The Jetty Project. All rights reserved.