Package javax.servlet.http
Interface HttpSessionAttributeListener
- All Superinterfaces:
EventListener
This listener interface can be implemented in order to get notifications of changes to the attribute lists of
sessions within this web application.
- Since:
- Servlet 2.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification that an attribute has been added to a session.void
Notification that an attribute has been removed from a session.void
Notification that an attribute has been replaced in a session.
-
Method Details
-
attributeAdded
Notification that an attribute has been added to a session. Called after the attribute is added.- Parameters:
se
- Information about the added attribute
-
attributeRemoved
Notification that an attribute has been removed from a session. Called after the attribute is removed.- Parameters:
se
- Information about the removed attribute
-
attributeReplaced
Notification that an attribute has been replaced in a session. Called after the attribute is replaced.- Parameters:
se
- Information about the replaced attribute
-