Uses of Class
jakarta.servlet.http.HttpSessionEvent
Package
Description
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of HttpSessionEvent in jakarta.servlet.http
Modifier and TypeClassDescriptionclass
Events of this type are either sent to an object that implementsHttpSessionBindingListener
when it is bound or unbound from a session, or to anHttpSessionAttributeListener
that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.Modifier and TypeMethodDescriptiondefault void
HttpSessionListener.sessionCreated
(HttpSessionEvent se) Receives notification that a session has been created.default void
HttpSessionListener.sessionDestroyed
(HttpSessionEvent se) Receives notification that a session is about to be invalidated.default void
HttpSessionActivationListener.sessionDidActivate
(HttpSessionEvent se) Notification that the session has just been activated.void
HttpSessionIdListener.sessionIdChanged
(HttpSessionEvent event, String oldSessionId) Receives notification that session id has been changed in a session.default void
HttpSessionActivationListener.sessionWillPassivate
(HttpSessionEvent se) Notification that the session is about to be passivated.