Package org.glassfish.jersey.media.sse
Class EventOutput
- All Implemented Interfaces:
Closeable
,AutoCloseable
Outbound Server-Sent Events channel.
When returned from resource method, underlying connection is kept open and application
is able to send events. One instance of this class corresponds with exactly one HTTP connection.
- Author:
- Pavel Bucek, Marek Potociar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glassfish.jersey.server.ChunkedOutput
ChunkedOutput.Builder<Y>, ChunkedOutput.TypedBuilder<Y>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.glassfish.jersey.server.ChunkedOutput
builder, builder, close, equals, flushQueue, hashCode, isClosed, onClose, toString, write
Methods inherited from class jakarta.ws.rs.core.GenericType
forInstance, getRawType, getType
-
Constructor Details
-
EventOutput
public EventOutput()Create new outbound Server-Sent Events channel.
-