Package org.glassfish.jersey.media.sse
Class EventOutput
- java.lang.Object
-
- jakarta.ws.rs.core.GenericType<T>
-
- org.glassfish.jersey.server.ChunkedOutput<OutboundEvent>
-
- org.glassfish.jersey.media.sse.EventOutput
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class EventOutput extends ChunkedOutput<OutboundEvent>
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 Constructor Description EventOutput()Create new outbound Server-Sent Events channel.
-
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
-
-