T - the type of items emitted by this Publisherpublic abstract class AbstractSinglePublisher<T> extends Object implements org.reactivestreams.Publisher<T>, org.reactivestreams.Subscription
| Constructor and Description |
|---|
AbstractSinglePublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected boolean |
isCancelled() |
protected void |
onFailure(org.reactivestreams.Subscriber<? super T> subscriber,
Throwable failure) |
protected abstract void |
onRequest(org.reactivestreams.Subscriber<? super T> subscriber,
long n) |
void |
request(long n) |
void |
subscribe(org.reactivestreams.Subscriber<? super T> subscriber) |
protected org.reactivestreams.Subscriber<? super T> |
subscriber() |
String |
toString() |
public void subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
subscribe in interface org.reactivestreams.Publisher<T>protected org.reactivestreams.Subscriber<? super T> subscriber()
public void request(long n)
request in interface org.reactivestreams.Subscriptionprotected abstract void onRequest(org.reactivestreams.Subscriber<? super T> subscriber, long n)
protected void onFailure(org.reactivestreams.Subscriber<? super T> subscriber, Throwable failure)
public void cancel()
cancel in interface org.reactivestreams.Subscriptionprotected boolean isCancelled()
Copyright © 2017–2024 The Jetty Project. All rights reserved.