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
ConstructorsConstructorDescriptionSseEventOutputImpl(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 TypeMethodDescriptionvoidvoidclose()protected voidclose(boolean flushBeforeClose) Deprecated.booleanprotected voidinthashCode()booleanisClosed()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:
closein interfaceAutoCloseable- Specified by:
closein interfacejakarta.ws.rs.sse.SseEventSink
-
close
Deprecated. -
clearContextData
public void clearContextData() -
flushResponseToClient
protected void flushResponseToClient() -
isClosed
public boolean isClosed()- Specified by:
isClosedin interfacejakarta.ws.rs.sse.SseEventSink
-
send
- Specified by:
sendin interfacejakarta.ws.rs.sse.SseEventSink
-
writeEvent
Deprecated. -
equals
- Overrides:
equalsin classjakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classjakarta.ws.rs.core.GenericType<jakarta.ws.rs.sse.OutboundSseEvent>
-