Class SessionDestroyEvent

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

public class SessionDestroyEvent extends EventObject
Event fired when a Vaadin service session is no longer in use.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • SessionDestroyEvent

      public SessionDestroyEvent(VaadinService service, VaadinSession session)
      Creates a new event.
      Parameters:
      service - the Vaadin service from which the even originates
      session - the Vaadin service session that is no longer used
  • Method Details

    • getSource

      public VaadinService getSource()
      Overrides:
      getSource in class EventObject
    • getService

      public VaadinService getService()
      Gets the Vaadin service from which the even originates.
      Returns:
      the Vaadin service
    • getSession

      public VaadinSession getSession()
      Gets the Vaadin service session that is no longer used.
      Returns:
      the Vaadin service session