| Package | Description |
|---|---|
| io.undertow.server.handlers.sse |
| Modifier and Type | Method | Description |
|---|---|---|
Set<ServerSentEventConnection> |
ServerSentEventHandler.getConnections() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ServerSentEventConnectionCallback.connected(ServerSentEventConnection connection,
String lastEventId) |
|
void |
ServerSentEventConnection.EventCallback.done(ServerSentEventConnection connection,
String data,
String event,
String id) |
Notification that is called when a message is sucessfully sent
|
void |
ServerSentEventConnection.EventCallback.failed(ServerSentEventConnection connection,
String data,
String event,
String id,
IOException e) |
Notification that is called when a message send fails.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ServerSentEventConnection.addCloseTask(org.xnio.ChannelListener<ServerSentEventConnection> listener) |
Adds a listener that will be invoked when the channel is closed
|
Copyright © 2018. All rights reserved.