Package io.split.engine.sse.client
Class SSEClient
- java.lang.Object
-
- io.split.engine.sse.client.SSEClient
-
public class SSEClient extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSSEClient.StatusMessage
-
Constructor Summary
Constructors Constructor Description SSEClient(Function<RawEvent,Void> eventCallback, Function<SSEClient.StatusMessage,Void> statusCallback, org.apache.hc.client5.http.impl.classic.CloseableHttpClient client, TelemetryRuntimeProducer telemetryRuntimeProducer, ThreadFactory threadFactory, RequestDecorator requestDecorator)
-
-
-
Constructor Detail
-
SSEClient
public SSEClient(Function<RawEvent,Void> eventCallback, Function<SSEClient.StatusMessage,Void> statusCallback, org.apache.hc.client5.http.impl.classic.CloseableHttpClient client, TelemetryRuntimeProducer telemetryRuntimeProducer, ThreadFactory threadFactory, RequestDecorator requestDecorator)
-
-
Method Detail
-
open
public boolean open(URI uri)
-
isOpen
public boolean isOpen()
-
close
public void close()
-
-