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 TypeMethodDescriptionvoid
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 sentvoid
ServerSentEventConnection.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 TypeMethodDescriptionvoid
ServerSentEventConnection.addCloseTask
(org.xnio.ChannelListener<ServerSentEventConnection> listener) Adds a listener that will be invoked when the channel is closed