javax.servlet.http
Interface HttpSessionBindingListener
- public abstract interface HttpSessionBindingListener
- extends java.util.EventListener
Objects that implement this interface will be called when they are bound or
unbound into a HttpSession with a
HttpSessionBindingEvent.
- Since:
- Servlet API 2.0
- Version:
- Servlet API 2.1
- See Also:
HttpSession,
HttpSession.putValue(java.lang.String, java.lang.Object),
HttpSession.removeValue(java.lang.String),
HttpSession.invalidate(),
HttpSessionBindingEvent
valueBound
public void valueBound(HttpSessionBindingEvent event)
- Called when the object is bound to a session.
- Parameters:
event - The event object containing the name and session- Since:
- Servlet API 2.0
valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)
- Called when the object is unbound from a session.
- Parameters:
event - The event object containing the name and session- Since:
- Servlet API 2.0