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
  • Constructor Details

    • SourceBuilder

      public SourceBuilder()
  • Method Details

    • named

      public jakarta.ws.rs.sse.SseEventSource.Builder named(String name)
    • build

      public jakarta.ws.rs.sse.SseEventSource build()
      Specified by:
      build in class jakarta.ws.rs.sse.SseEventSource.Builder
    • target

      public jakarta.ws.rs.sse.SseEventSource.Builder target(jakarta.ws.rs.client.WebTarget target)
      Specified by:
      target in class jakarta.ws.rs.sse.SseEventSource.Builder
    • reconnectingEvery

      public jakarta.ws.rs.sse.SseEventSource.Builder reconnectingEvery(long delay, TimeUnit unit)
      Specified by:
      reconnectingEvery in class jakarta.ws.rs.sse.SseEventSource.Builder
    • executor

      public jakarta.ws.rs.sse.SseEventSource.Builder executor(ScheduledExecutorService executor)
    • alwaysReconnect

      public jakarta.ws.rs.sse.SseEventSource.Builder alwaysReconnect(boolean alwaysReconnect)