Class 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 Detail

      • AbstractSubscriber

        protected AbstractSubscriber​(javax.ws.rs.container.AsyncResponse ar)
    • Method Detail

      • resume

        public void resume​(T response)
      • resume

        public void resume​(List<T> response)
      • onError

        public void onError​(Throwable t)
        Specified by:
        onError in interface org.reactivestreams.Subscriber<T>
      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription inSubscription)
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<T>
      • onNext

        public void onNext​(T t)
        Specified by:
        onNext in interface org.reactivestreams.Subscriber<T>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.reactivestreams.Subscriber<T>
      • getAsyncResponse

        protected javax.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)