org.glassfish.jersey.media.sse
Class EventOutput
java.lang.Object
javax.ws.rs.core.GenericType<T>
org.glassfish.jersey.server.ChunkedOutput<OutboundEvent>
org.glassfish.jersey.media.sse.EventOutput
- All Implemented Interfaces:
- Closeable
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 (pavel.bucek at oracle.com), Marek Potociar (marek.potociar at oracle.com)
|
Constructor Summary |
EventOutput()
Create new outbound Server-Sent Events channel. |
| Methods inherited from class javax.ws.rs.core.GenericType |
getRawType, getType |
EventOutput
public EventOutput()
- Create new outbound Server-Sent Events channel.
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.