Class UIResynchronizationEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.server.communication.UIResynchronizationEvent
All Implemented Interfaces:
Serializable

public class UIResynchronizationEvent extends EventObject
Event fired through the service event bus when the client asks the server to resynchronize a UI, on the request thread while the session is locked and before the UI is resynchronized.

The client asks for a resynchronization when it detects that it missed a message from the server, typically because of a bad network connection or a push connection that was closed by a proxy. The server then sends the full state of the UI to the client.

Since:
25.4
See Also:
  • Constructor Details

    • UIResynchronizationEvent

      public UIResynchronizationEvent(UI ui)
      Creates a new event.
      Parameters:
      ui - the UI to resynchronize, not null
  • Method Details

    • getUI

      public UI getUI()
      Gets the UI to resynchronize.
      Returns:
      the UI, not null