Package | Description |
---|---|
org.glassfish.jersey.media.sse.internal |
Modifier and Type | Method and Description |
---|---|
EventProcessor.Builder |
EventProcessor.Builder.boundListeners(Map<String,List<EventListener>> boundListeners)
Unbounded listeners will get notified about incoming events with particular name.
|
static EventProcessor.Builder |
EventProcessor.builder(WebTarget target,
AtomicReference<EventProcessor.State> state,
ClientExecutor clientExecutor,
EventListener eventListener,
EventProcessor.ShutdownHandler shutdownHandler)
Create new Event processor builder.
|
EventProcessor.Builder |
EventProcessor.Builder.disableKeepAlive()
Disables keepalive.
|
EventProcessor.Builder |
EventProcessor.Builder.reconnectDelay(long reconnectDelay,
TimeUnit unit)
Set initial reconnect delay.
|
EventProcessor.Builder |
EventProcessor.Builder.throwableConsumers(List<Consumer<Throwable>> throwableConsumers)
Set the consumers of
Throwable occurring during connection. |
EventProcessor.Builder |
EventProcessor.Builder.unboundListeners(List<EventListener> unboundListeners)
Unbounded listeners will get notified about any incoming event.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.