Class SseEventSourceImpl.SourceBuilder
java.lang.Object
jakarta.ws.rs.sse.SseEventSource.Builder
org.jboss.resteasy.plugins.providers.sse.client.SseEventSourceImpl.SourceBuilder
- Enclosing class:
SseEventSourceImpl
public static class SseEventSourceImpl.SourceBuilder
extends jakarta.ws.rs.sse.SseEventSource.Builder
-
Field Summary
Fields inherited from class jakarta.ws.rs.sse.SseEventSource.Builder
JAXRS_DEFAULT_SSE_BUILDER_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.sse.SseEventSource.Builder
alwaysReconnect
(boolean alwaysReconnect) jakarta.ws.rs.sse.SseEventSource
build()
jakarta.ws.rs.sse.SseEventSource.Builder
executor
(ScheduledExecutorService executor) jakarta.ws.rs.sse.SseEventSource.Builder
jakarta.ws.rs.sse.SseEventSource.Builder
reconnectingEvery
(long delay, TimeUnit unit) jakarta.ws.rs.sse.SseEventSource.Builder
target
(jakarta.ws.rs.client.WebTarget target)
-
Constructor Details
-
SourceBuilder
public SourceBuilder()
-
-
Method Details
-
named
-
build
public jakarta.ws.rs.sse.SseEventSource build()- Specified by:
build
in classjakarta.ws.rs.sse.SseEventSource.Builder
-
target
public jakarta.ws.rs.sse.SseEventSource.Builder target(jakarta.ws.rs.client.WebTarget target) - Specified by:
target
in classjakarta.ws.rs.sse.SseEventSource.Builder
-
reconnectingEvery
- Specified by:
reconnectingEvery
in classjakarta.ws.rs.sse.SseEventSource.Builder
-
executor
-
alwaysReconnect
public jakarta.ws.rs.sse.SseEventSource.Builder alwaysReconnect(boolean alwaysReconnect)
-