We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Class SessionDestroyEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.server.SessionDestroyEvent
-
All Implemented Interfaces:
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:
SessionDestroyListener.sessionDestroy(SessionDestroyEvent)
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description SessionDestroyEvent(VaadinService service, VaadinSession session)
Creates a new event.
-
Method Summary
All Methods Modifier and Type Method and Description VaadinService
getService()
Gets the Vaadin service from which the even originates.
VaadinSession
getSession()
Gets the Vaadin service session that is no longer used.
VaadinService
getSource()
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
SessionDestroyEvent
public SessionDestroyEvent(VaadinService service, VaadinSession session)
Creates a new event.
Parameters:
service
- the Vaadin service from which the even originatessession
- the Vaadin service session that is no longer used
-
-
Method Detail
-
getSource
public VaadinService getSource()
Overrides:
getSource
in classEventObject
-
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
-
-