Package jenkins.util
Class HttpSessionListener
- java.lang.Object
-
- jenkins.util.HttpSessionListener
-
- All Implemented Interfaces:
ExtensionPoint
,EventListener
,javax.servlet.http.HttpSessionListener
public abstract class HttpSessionListener extends Object implements ExtensionPoint, 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 Constructor Description HttpSessionListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensionList<HttpSessionListener>
all()
Get all of theHttpSessionListener
implementations.void
sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
void
sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
-
-
-
Method Detail
-
all
public static ExtensionList<HttpSessionListener> all()
Get all of theHttpSessionListener
implementations.- Returns:
- All of the
HttpSessionListener
implementations.
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionCreated
in interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionDestroyed
in interfacejavax.servlet.http.HttpSessionListener
-
-