Uses of Class
jakarta.servlet.http.HttpSessionEvent
Packages that use 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
Subclasses of HttpSessionEvent in jakarta.servlet.httpModifier and TypeClassDescriptionclassEvents of this type are either sent to an object that implementsHttpSessionBindingListenerwhen it is bound or unbound from a session, or to anHttpSessionAttributeListenerthat has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.Methods in jakarta.servlet.http with parameters of type HttpSessionEventModifier and TypeMethodDescriptiondefault voidHttpSessionListener.sessionCreated(HttpSessionEvent se) Receives notification that a session has been created.default voidHttpSessionListener.sessionDestroyed(HttpSessionEvent se) Receives notification that a session is about to be invalidated.default voidHttpSessionActivationListener.sessionDidActivate(HttpSessionEvent se) Notification that the session has just been activated.voidHttpSessionIdListener.sessionIdChanged(HttpSessionEvent event, String oldSessionId) Receives notification that session id has been changed in a session.default voidHttpSessionActivationListener.sessionWillPassivate(HttpSessionEvent se) Notification that the session is about to be passivated.