Package jakarta.servlet.http
Interface HttpSessionListener
- All Superinterfaces:
- 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:
- Servlet 2.3
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidNotification that a session was created.default voidNotification that a session is about to be invalidated.
- 
Method Details- 
sessionCreatedNotification that a session was created. The default implementation is a NO-OP.- Parameters:
- se- the notification event
 
- 
sessionDestroyedNotification that a session is about to be invalidated. The default implementation is a NO-OP.- Parameters:
- se- the notification event
 
 
-