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

    • SseEventOutputImpl

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

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

    • close

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

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

      public void clearContextData()
    • flushResponseToClient

      protected void flushResponseToClient()
    • 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
    • writeEvent

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

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

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