Class SseEventSuscriber<T>

  • All Implemented Interfaces:
    org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>

    public class SseEventSuscriber<T>
    extends Object
    implements org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>
    • Constructor Detail

      • SseEventSuscriber

        public SseEventSuscriber​(org.reactivestreams.Subscriber<T> subscriber)
    • Method Detail

      • onSubscribe

        public void onSubscribe​(org.glassfish.jersey.internal.jsr166.Flow.Subscription flowsubscription)
        Specified by:
        onSubscribe in interface org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>
      • onNext

        public void onNext​(T item)
        Specified by:
        onNext in interface org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>
      • onError

        public void onError​(Throwable t)
        Specified by:
        onError in interface org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.glassfish.jersey.internal.jsr166.Flow.Subscriber<T>