Uses of Class
io.undertow.server.handlers.sse.ServerSentEventConnection
Packages that use ServerSentEventConnection
-
Uses of ServerSentEventConnection in io.undertow.server.handlers.sse
Methods in io.undertow.server.handlers.sse that return types with arguments of type ServerSentEventConnectionMethods in io.undertow.server.handlers.sse with parameters of type ServerSentEventConnectionModifier and TypeMethodDescriptionvoidServerSentEventConnectionCallback.connected(ServerSentEventConnection connection, String lastEventId) voidServerSentEventConnection.EventCallback.done(ServerSentEventConnection connection, String data, String event, String id) Notification that is called when a message is sucessfully sentvoidServerSentEventConnection.EventCallback.failed(ServerSentEventConnection connection, String data, String event, String id, IOException e) Notification that is called when a message send fails.Method parameters in io.undertow.server.handlers.sse with type arguments of type ServerSentEventConnectionModifier and TypeMethodDescriptionvoidServerSentEventConnection.addCloseTask(org.xnio.ChannelListener<ServerSentEventConnection> listener) Adds a listener that will be invoked when the channel is closed