All Classes and Interfaces

Class
Description
Interface for an object that will receive SSE events from BackgroundEventSource.
A wrapper for EventSource that reads the stream on a worker thread, pushing events to a handler that the caller provides.
Builder for configuring BackgroundEventSource.
Describes a comment line received from the stream.
Interface for an object that will be notified when BackgroundEventSource encounters a network error or receives an error response.
Return values of ConnectionErrorHandler.onConnectionError(Throwable) indicating what action the BackgroundEventSource should take after an error.
An abstraction of how EventSource should obtain an input stream.
An object provided by ConnectStrategy that is retained by a single EventSource instance to perform all connection attempts by that instance.
Default implementation of the retry delay strategy, providing exponential backoff and jitter.
An abstraction of how to determine whether a stream failure should be thrown to the caller as an exception, or treated as an event.
Describes the possible actions EventSource could take after an error.
The SSE client.
Builder for configuring EventSource.
Describes a failure in the stream.
Allows configuration of HTTP request behavior for EventSource.
Information about a message received from the stream.
An SSLSocketFactory that tries to ensure modern TLS versions are used.
Enum values that can be returned by EventSource.getState().
This interface provides access to HTTP response headers in a way that is independent of any specific HTTP client implementation.
Represents a single HTTP header as a name-value pair.
RetryDelayStrategy is an abstraction of how EventSource should determine the delay between retry attempts when a stream fails.
The return type of RetryDelayStrategy.apply(long).
Represents the beginning of a stream.
An exception indicating that the stream stopped because you explicitly stopped it.
An exception indicating that the stream stopped because the server closed the connection.
 
A marker interface for all types of stream information that can be returned by EventSource.readAnyEvent() and EventSource.messages().
Base class for all exceptions thrown by EventSource.
An exception indicating that the remote server returned an HTTP error.
An exception indicating that a connection could not be made, or that an existing connection failed with a network error.