Uses of Class
io.undertow.server.handlers.sse.ServerSentEventConnection
-
Packages that use ServerSentEventConnection Package Description io.undertow.server.handlers.sse -
-
Uses of ServerSentEventConnection in io.undertow.server.handlers.sse
Methods in io.undertow.server.handlers.sse that return types with arguments of type ServerSentEventConnection Modifier and Type Method Description java.util.Set<ServerSentEventConnection>
ServerSentEventHandler. getConnections()
Methods in io.undertow.server.handlers.sse with parameters of type ServerSentEventConnection 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 sentvoid
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.Method parameters in io.undertow.server.handlers.sse with type arguments of type ServerSentEventConnection 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
-