public static class SseEventSourceImpl.SourceBuilder
extends javax.ws.rs.sse.SseEventSource.Builder
Constructor and Description |
---|
SourceBuilder() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.sse.SseEventSource |
build() |
javax.ws.rs.sse.SseEventSource.Builder |
executor(ScheduledExecutorService executor) |
javax.ws.rs.sse.SseEventSource.Builder |
named(String name) |
javax.ws.rs.sse.SseEventSource.Builder |
reconnectingEvery(long delay,
TimeUnit unit) |
javax.ws.rs.sse.SseEventSource.Builder |
target(javax.ws.rs.client.WebTarget target) |
public javax.ws.rs.sse.SseEventSource.Builder named(String name)
public javax.ws.rs.sse.SseEventSource build()
build
in class javax.ws.rs.sse.SseEventSource.Builder
public javax.ws.rs.sse.SseEventSource.Builder target(javax.ws.rs.client.WebTarget target)
target
in class javax.ws.rs.sse.SseEventSource.Builder
public javax.ws.rs.sse.SseEventSource.Builder reconnectingEvery(long delay, TimeUnit unit)
reconnectingEvery
in class javax.ws.rs.sse.SseEventSource.Builder
public javax.ws.rs.sse.SseEventSource.Builder executor(ScheduledExecutorService executor)
Copyright © 2019 JBoss by Red Hat. All rights reserved.