Package com.launchdarkly.eventsource
-
Interface Summary Interface Description ConnectionErrorHandler Interface for an object that will be notified when EventSource encounters a socket connection error or receives an error response.EventHandler Interface for an object that will receive SSE events.EventSource.Builder.ClientConfigurer An interface for use withEventSource.Builder.clientBuilderActions(ClientConfigurer)
.EventSource.RequestTransformer Interface for an object that can modify the network request that the EventSource will make. -
Class Summary Class Description EventSource A client for the Server-Sent Events (SSE) protocol.EventSource.Builder Builder forEventSource
.MessageEvent Event information that is passed toEventHandler.onMessage(String, MessageEvent)
.ModernTLSSocketFactory AnSSLSocketFactory
that tries to ensure modern TLS versions are used. -
Enum Summary Enum Description ConnectionErrorHandler.Action Return values ofConnectionErrorHandler.onConnectionError(Throwable)
indicating what action theEventSource
should take after an error.ReadyState Enum values that can be returned byEventSource.getState()
. -
Exception Summary Exception Description UnsuccessfulResponseException Exception class that means the remote server returned an HTTP error.