Package javax.servlet.http
Interface HttpSessionListener
- 
- All Superinterfaces:
- java.util.EventListener
 
 public interface HttpSessionListener extends java.util.EventListenerImplementations 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:
- Servlet 2.3
- See Also:
- HttpSessionEvent
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsessionCreated(HttpSessionEvent se)Notification that a session was created.voidsessionDestroyed(HttpSessionEvent se)Notification that a session is about to be invalidated.
 
- 
- 
- 
Method Detail- 
sessionCreatedvoid sessionCreated(HttpSessionEvent se) Notification that a session was created.- Parameters:
- se- the notification event
 
 - 
sessionDestroyedvoid sessionDestroyed(HttpSessionEvent se) Notification that a session is about to be invalidated.- Parameters:
- se- the notification event
 
 
- 
 
-