Class SseEventSinkImpl

java.lang.Object
org.jboss.resteasy.reactive.server.jaxrs.SseEventSinkImpl
All Implemented Interfaces:
jakarta.ws.rs.sse.SseEventSink, AutoCloseable

public class SseEventSinkImpl extends Object implements jakarta.ws.rs.sse.SseEventSink
  • Field Details

    • EMPTY_BUFFER

      public static final byte[] EMPTY_BUFFER
  • Constructor Details

  • Method Details

    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface jakarta.ws.rs.sse.SseEventSink
    • send

      public CompletionStage<?> send(jakarta.ws.rs.sse.OutboundSseEvent event)
      Specified by:
      send in interface jakarta.ws.rs.sse.SseEventSink
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface jakarta.ws.rs.sse.SseEventSink
    • sendInitialResponse

      public void sendInitialResponse(ServerHttpResponse response)