Package javax.servlet.http
Interface HttpSessionAttributeListener
- 
- All Superinterfaces:
- java.util.EventListener
 
 public interface HttpSessionAttributeListener extends java.util.EventListenerThis 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 SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default voidattributeAdded(HttpSessionBindingEvent se)Notification that an attribute has been added to a session.default voidattributeRemoved(HttpSessionBindingEvent se)Notification that an attribute has been removed from a session.default voidattributeReplaced(HttpSessionBindingEvent se)Notification that an attribute has been replaced in a session.
 
- 
- 
- 
Method Detail- 
attributeAddeddefault void attributeAdded(HttpSessionBindingEvent se) Notification that an attribute has been added to a session. Called after the attribute is added. The default implementation is a NO-OP.- Parameters:
- se- Information about the added attribute
 
 - 
attributeRemoveddefault void attributeRemoved(HttpSessionBindingEvent se) Notification that an attribute has been removed from a session. Called after the attribute is removed. The default implementation is a NO-OP.- Parameters:
- se- Information about the removed attribute
 
 - 
attributeReplaceddefault void attributeReplaced(HttpSessionBindingEvent se) Notification that an attribute has been replaced in a session. Called after the attribute is replaced. The default implementation is a NO-OP.- Parameters:
- se- Information about the replaced attribute
 
 
- 
 
-