Class 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 Detail

      • EventOutput

        public EventOutput()
        Create new outbound Server-Sent Events channel.