Class SseEventOutputImpl

java.lang.Object
jakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
org.jboss.resteasy.plugins.providers.sse.SseEventOutputImpl
All Implemented Interfaces:
jakarta.ws.rs.sse.SseEventSink, AutoCloseable

public class SseEventOutputImpl extends jakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent> implements jakarta.ws.rs.sse.SseEventSink
  • Constructor Details Link icon

    • SseEventOutputImpl Link icon

      @Deprecated public SseEventOutputImpl(jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.sse.OutboundSseEvent> writer)
      Deprecated.
    • SseEventOutputImpl Link icon

      public SseEventOutputImpl(jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.sse.OutboundSseEvent> writer, ResteasyProviderFactory providerFactory)
  • Method Details Link icon

    • close Link icon

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

      @Deprecated protected void close(boolean flushBeforeClose)
      Deprecated.
    • clearContextData Link icon

      public void clearContextData()
    • flushResponseToClient Link icon

      protected void flushResponseToClient()
    • isClosed Link icon

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

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

      @Deprecated protected CompletionStage<Void> writeEvent(jakarta.ws.rs.sse.OutboundSseEvent event)
      Deprecated.
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class jakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class jakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>