当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface HttpSessionAttributeListener - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.servlet.http
Interface HttpSessionAttributeListener
- All Superinterfaces:
- java.util.EventListener
- public interface HttpSessionAttributeListener
- extends java.util.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:
- v 2.3
attributeAdded
public void attributeAdded(HttpSessionBindingEvent se)
- Notification that an attribute has been added to a session. Called after the attribute is added.
attributeRemoved
public void attributeRemoved(HttpSessionBindingEvent se)
- Notification that an attribute has been removed from a session. Called after the attribute is removed.
attributeReplaced
public void attributeReplaced(HttpSessionBindingEvent se)
- Notification that an attribute has been replaced in a session. Called after the attribute is replaced.