Class EventInput

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:

public class EventInput extends ChunkedInput<InboundEvent>
Inbound Server-Sent Events channel. The input channel lets you serially read & consume SSE events as they arrive.
Marek Potociar
  • Constructor Details

    • EventInput

      protected EventInput(InputStream inputStream, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, MessageBodyWorkers messageBodyWorkers, PropertiesDelegate propertiesDelegate)
      Package-private constructor used by the ChunkedInputReader.
      inputStream - response input stream.
      annotations - annotations associated with response entity.
      mediaType - response entity media type.
      headers - response headers.
      messageBodyWorkers - message body workers.
      propertiesDelegate - properties delegate for this request/response.