Class ClientMessageResentEvent

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

public class ClientMessageResentEvent extends EventObject
Event fired through the service event bus when the client sent the last message the server processed once more, on the request thread while the session is locked.

The client re-sends a message when it did not get a response to it, for example because of a timeout. The message is not processed again: the server responds with the response it sent the first time.

Since:
25.4
See Also:
  • Constructor Details

    • ClientMessageResentEvent

      public ClientMessageResentEvent(UI ui)
      Creates a new event.
      Parameters:
      ui - the UI the message was sent to, not null
  • Method Details

    • getUI

      public UI getUI()
      Gets the UI the message was sent to.
      Returns:
      the UI, not null