Name
HttpSessionListener
Synopsis
This is a listener that allows a class to be notified of basic session lifecycle events, specifically the creation and destruction of a session. This allows for logging and cleanup of resources.
public interface HttpSessionListener extends java.util.EventListener { // Public Instance Methods public abstract void sessionCreated( HttpSessionEvent se); public abstract void sessionDestroyed( HttpSessionEvent se); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.