Class HeartbeatHandler

java.lang.Object
com.vaadin.flow.server.SynchronizedRequestHandler
com.vaadin.flow.server.communication.HeartbeatHandler
All Implemented Interfaces:
RequestHandler, SessionExpiredHandler, Serializable

public class HeartbeatHandler extends SynchronizedRequestHandler implements SessionExpiredHandler
Handles heartbeat requests. Heartbeat requests are periodically sent by the client-side to inform the server that the UI sending the heartbeat is still alive (the browser window is open, the connection is up) even when there are no UIDL requests for a prolonged period of time. UIs that do not receive either heartbeat or UIDL requests are eventually removed from the session and garbage collected.

For internal use only. May be renamed or removed in a future release.

Since:
1.0
Author:
Vaadin Ltd
See Also: