Uses of Interface
io.undertow.server.handlers.sse.ServerSentEventConnection.EventCallback
Packages that use ServerSentEventConnection.EventCallback
-
Uses of ServerSentEventConnection.EventCallback in io.undertow
Methods in io.undertow with parameters of type ServerSentEventConnection.EventCallbackModifier and TypeMethodDescriptionfinal void
UndertowLogger_$logger.failedToInvokeFailedCallback
(ServerSentEventConnection.EventCallback callback, Exception e) void
UndertowLogger.failedToInvokeFailedCallback
(ServerSentEventConnection.EventCallback callback, Exception e) -
Uses of ServerSentEventConnection.EventCallback in io.undertow.server.handlers.sse
Methods in io.undertow.server.handlers.sse with parameters of type ServerSentEventConnection.EventCallbackModifier and TypeMethodDescriptionvoid
ServerSentEventConnection.send
(String data, ServerSentEventConnection.EventCallback callback) Sends an event to the remote clientvoid
ServerSentEventConnection.send
(String data, String event, String id, ServerSentEventConnection.EventCallback callback) Sends an event to the remote clientvoid
ServerSentEventConnection.sendRetry
(long retry, ServerSentEventConnection.EventCallback callback) Sends the 'retry' message to the client, instructing it how long to wait before attempting a reconnect.