Package jenkins.util
Class HttpSessionListener
java.lang.Object
jenkins.util.HttpSessionListener
- All Implemented Interfaces:
ExtensionPoint,jakarta.servlet.http.HttpSessionListener,EventListener,javax.servlet.http.HttpSessionListener
public abstract class HttpSessionListener
extends Object
implements ExtensionPoint, jakarta.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionListener
HttpSessionListener ExtensionPoint for Jenkins.
Allows plugins to listen to HttpSession lifecycle events.
- Since:
- 2.2
- Author:
- tom.fennelly@gmail.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<HttpSessionListener>all()Get all of theHttpSessionListenerimplementations.voidsessionCreated(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) voidsessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent) Deprecated.voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) voidsessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent) Deprecated.
-
Constructor Details
-
HttpSessionListener
public HttpSessionListener()
-
-
Method Details
-
all
Get all of theHttpSessionListenerimplementations.- Returns:
- All of the
HttpSessionListenerimplementations.
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) - Specified by:
sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) - Specified by:
sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener
-
sessionCreated
Deprecated.- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
Deprecated.- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
sessionCreated(HttpSessionEvent)