public abstract class AbstractSubscriber<T> extends Object implements org.reactivestreams.Subscriber<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractSubscriber(javax.ws.rs.container.AsyncResponse ar) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.container.AsyncResponse |
getAsyncResponse() |
protected org.reactivestreams.Subscription |
getSubscription() |
void |
onComplete() |
void |
onError(Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription inSubscription) |
protected void |
request(long elements) |
protected void |
requestAll() |
protected void |
requestNext() |
void |
resume(List<T> response) |
void |
resume(StreamingResponse<T> response) |
void |
resume(T response) |
protected AbstractSubscriber(javax.ws.rs.container.AsyncResponse ar)
public void resume(T response)
public void resume(StreamingResponse<T> response)
public void onError(Throwable t)
onError
in interface org.reactivestreams.Subscriber<T>
public void onSubscribe(org.reactivestreams.Subscription inSubscription)
onSubscribe
in interface org.reactivestreams.Subscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
protected javax.ws.rs.container.AsyncResponse getAsyncResponse()
protected org.reactivestreams.Subscription getSubscription()
protected void requestNext()
protected void requestAll()
protected final void request(long elements)
Apache CXF