T
- the type of items emitted by this Publisherorg.reactivestreams.Publisher<T>
, org.reactivestreams.Subscription
AbstractEventPublisher
, AbstractSingleProcessor
, QueuedSinglePublisher
, StringContent
public abstract class AbstractSinglePublisher<T> extends Object implements org.reactivestreams.Publisher<T>, org.reactivestreams.Subscription
Constructor | Description |
---|---|
AbstractSinglePublisher() |
Modifier and Type | Method | Description |
---|---|---|
void |
cancel() |
|
protected void |
onFailure(Throwable failure) |
|
protected abstract void |
onRequest(long n) |
|
void |
request(long n) |
|
void |
subscribe(org.reactivestreams.Subscriber<? super T> subscriber) |
|
protected org.reactivestreams.Subscriber<? super T> |
subscriber() |
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.Subscription
protected abstract void onRequest(long n)
protected void onFailure(Throwable failure)
public void cancel()
cancel
in interface org.reactivestreams.Subscription
Copyright © 2017 The Jetty Project. All rights reserved.