Name
HttpSessionAttributeListener
Synopsis
This is a listener interface that allows classes to be notified when
attributes are bound or unbound from a session. This listener
effectively replaces HttpSessionBindingListener
, as the
getAttribute()
and setAttribute()
methods have replaced the getValue()
and
putValue()
methods.
public interface HttpSessionAttributeListener extends java.util.EventListener { // Public Instance Methods public abstract void attributeAdded( HttpSessionBindingEvent se); public abstract void attributeRemoved( HttpSessionBindingEvent se); public abstract void attributeReplaced( HttpSessionBindingEvent se); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.