Class AbstractSubscriber<T>
java.lang.Object
org.apache.cxf.jaxrs.reactivestreams.server.AbstractSubscriber<T>
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Direct Known Subclasses:
StreamingAsyncSubscriber
public abstract class AbstractSubscriber<T>
extends Object
implements org.reactivestreams.Subscriber<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSubscriber(jakarta.ws.rs.container.AsyncResponse ar) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.container.AsyncResponseprotected org.reactivestreams.SubscriptionvoidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription inSubscription) protected final voidrequest(long elements) protected voidprotected voidvoidvoidresume(StreamingResponse<T> response) void
-
Constructor Details
-
AbstractSubscriber
protected AbstractSubscriber(jakarta.ws.rs.container.AsyncResponse ar)
-
-
Method Details
-
resume
-
resume
-
resume
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription inSubscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>
-
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
getAsyncResponse
protected jakarta.ws.rs.container.AsyncResponse getAsyncResponse() -
getSubscription
protected org.reactivestreams.Subscription getSubscription() -
requestNext
protected void requestNext() -
requestAll
protected void requestAll() -
request
protected final void request(long elements)
-