Package com.vaadin.flow.server
Class SessionDestroyEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.server.SessionDestroyEvent
- All Implemented Interfaces:
Serializable
Event fired when a Vaadin service session is no longer in use.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSessionDestroyEvent
(VaadinService service, VaadinSession session) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionGets the Vaadin service from which the even originates.Gets the Vaadin service session that is no longer used.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SessionDestroyEvent
Creates a new event.- Parameters:
service
- the Vaadin service from which the even originatessession
- the Vaadin service session that is no longer used
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getService
Gets the Vaadin service from which the even originates.- Returns:
- the Vaadin service
-
getSession
Gets the Vaadin service session that is no longer used.- Returns:
- the Vaadin service session
-