Package | Description |
---|---|
io.undertow.server.handlers.sse |
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<ServerSentEventConnection> |
ServerSentEventHandler.getConnections() |
Modifier and Type | Method | Description |
---|---|---|
void |
ServerSentEventConnectionCallback.connected(ServerSentEventConnection connection,
java.lang.String lastEventId) |
|
void |
ServerSentEventConnection.EventCallback.done(ServerSentEventConnection connection,
java.lang.String data,
java.lang.String event,
java.lang.String id) |
Notification that is called when a message is sucessfully sent
|
void |
ServerSentEventConnection.EventCallback.failed(ServerSentEventConnection connection,
java.lang.String data,
java.lang.String event,
java.lang.String id,
java.io.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.