public class StreamingAsyncSubscriber<T> extends AbstractSubscriber<T>
Modifier and Type | Class and Description |
---|---|
class |
StreamingAsyncSubscriber.TimeoutHandlerImpl |
Constructor and Description |
---|
StreamingAsyncSubscriber(javax.ws.rs.container.AsyncResponse ar,
String openTag,
String closeTag,
String sep) |
StreamingAsyncSubscriber(javax.ws.rs.container.AsyncResponse ar,
String openTag,
String closeTag,
String sep,
long pollTimeout) |
StreamingAsyncSubscriber(javax.ws.rs.container.AsyncResponse ar,
String openTag,
String closeTag,
String sep,
long pollTimeout,
long asyncTimeout) |
Modifier and Type | Method and Description |
---|---|
void |
onComplete() |
void |
onError(Throwable t) |
void |
onNext(T bean) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
getAsyncResponse, getSubscription, request, requestAll, requestNext, resume, resume, resume
public StreamingAsyncSubscriber(javax.ws.rs.container.AsyncResponse ar, String openTag, String closeTag, String sep)
public StreamingAsyncSubscriber(javax.ws.rs.container.AsyncResponse ar, String openTag, String closeTag, String sep, long pollTimeout)
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe
in interface org.reactivestreams.Subscriber<T>
onSubscribe
in class AbstractSubscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
onComplete
in class AbstractSubscriber<T>
public void onError(Throwable t)
onError
in interface org.reactivestreams.Subscriber<T>
onError
in class AbstractSubscriber<T>
public void onNext(T bean)
onNext
in interface org.reactivestreams.Subscriber<T>
onNext
in class AbstractSubscriber<T>
Apache CXF