Class SSEPublisher<T>

java.lang.Object
org.jboss.resteasy.microprofile.client.publisher.SSEPublisher<T>
Type Parameters:
T - the type of event.
All Implemented Interfaces:
org.reactivestreams.Publisher<T>

public class SSEPublisher<T> extends Object implements org.reactivestreams.Publisher<T>
Publisher implementation emitting server-sent-event downstream.
  • Constructor Details

    • SSEPublisher

      public SSEPublisher(Type genericType, jakarta.ws.rs.ext.Providers providers, org.jboss.resteasy.plugins.providers.sse.SseEventInputImpl input, jakarta.ws.rs.core.MediaType mediaType, ExecutorService es)
  • Method Details

    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super T> downstream)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<T>