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 Summary
ConstructorDescriptionSseEventOutputImpl
(jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.sse.OutboundSseEvent> writer) Deprecated.SseEventOutputImpl
(jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.sse.OutboundSseEvent> writer, ResteasyProviderFactory providerFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
protected void
close
(boolean flushBeforeClose) Deprecated.boolean
protected void
int
hashCode()
boolean
isClosed()
send
(jakarta.ws.rs.sse.OutboundSseEvent event) protected CompletionStage
<Void> writeEvent
(jakarta.ws.rs.sse.OutboundSseEvent event) Deprecated.Methods inherited from class jakarta.ws.rs.core.GenericType
forInstance, getRawType, getType, toString
-
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 interfaceAutoCloseable
- Specified by:
close
in interfacejakarta.ws.rs.sse.SseEventSink
-
close
Deprecated. -
clearContextData
public void clearContextData() -
flushResponseToClient
protected void flushResponseToClient() -
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfacejakarta.ws.rs.sse.SseEventSink
-
send
- Specified by:
send
in interfacejakarta.ws.rs.sse.SseEventSink
-
writeEvent
Deprecated. -
equals
- Overrides:
equals
in classjakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
-