Package org.glassfish.jersey.media.sse
package org.glassfish.jersey.media.sse
Support for Server Sent events in Jersey.
-
ClassDescriptionInbound Server-Sent Events channel.
EventSource
listener that can be registered to listen for newly receivedInboundEvent
notifications.Outbound Server-Sent Events channel.Client for reading and processingincoming Server-Sent Events
.JerseyEventSource
builder class.Inbound event.PublicSseEventSource.Builder
implementation.Defines string formatting method for each constant in the resource fileRepresentation of a single outbound SSE event.Used for creatingOutboundEvent
instances.Used for broadcasting SSE to multipleEventOutput
instances.A JAX-RSfeature
that enables Server-Sent Events support.