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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.glassfish.jersey.server.ChunkedOutput
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.
-