public class SSEConnection extends StreamConnection
| Modifier and Type | Class and Description |
|---|---|
class |
SSEConnection.DisconnectedStatistics |
monitor, shuttingDown, url, uuid, worker| Constructor and Description |
|---|
SSEConnection(ClientConfiguration clientConfiguration,
String lastEventId,
SseClientCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
String |
close()
Close the this connection and return the Last-Event-ID
|
protected void |
closeChannel() |
boolean |
isOpen() |
io.undertow.client.ClientStatistics |
statistics() |
protected void |
tryConnect() |
closeChannel, connect, reconnect, reconnectpublic SSEConnection(ClientConfiguration clientConfiguration, String lastEventId, SseClientCallback callback)
protected void tryConnect()
throws Exception
tryConnect in class StreamConnectionExceptionpublic String close()
public io.undertow.client.ClientStatistics statistics()
protected void closeChannel()
closeChannel in class StreamConnectionpublic boolean isOpen()
Copyright © 2017. All rights reserved.