Uses of Class
org.glassfish.jersey.media.sse.EventSource.Builder
-
Uses of EventSource.Builder in org.glassfish.jersey.media.sse
Modifier and TypeMethodDescriptionSet a custom name for the event source.EventSource.Builder.reconnectingEvery
(long delay, TimeUnit unit) Set the initial reconnect delay to be used by the event source.static EventSource.Builder
Create a newevent source builder
that provides convenient way how to configure and fine-tune various aspects of a newly prepared event source instance.EventSource.Builder.usePersistentConnections()
Instruct event source to use persistent HTTP connections when connecting (or reconnecting) to the SSE endpoint, provided the mechanism is supported by the underlying clientConnector
.