javax.servlet.http
Interface HttpSessionListener

All Superinterfaces:
EventListener

public interface HttpSessionListener
extends EventListener

Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

Since:
v 2.3
See Also:
HttpSessionEvent

Method Summary
 void sessionCreated(HttpSessionEvent se)
          Notification that a session was created.
 void sessionDestroyed(HttpSessionEvent se)
          Notification that a session is about to be invalidated.
 

Method Detail

sessionCreated

void sessionCreated(HttpSessionEvent se)
Notification that a session was created.

Parameters:
se - the notification event

sessionDestroyed

void sessionDestroyed(HttpSessionEvent se)
Notification that a session is about to be invalidated.

Parameters:
se - the notification event

(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training