Package javax.servlet.http
Interface HttpSessionBindingListener
- 
- All Superinterfaces:
- java.util.EventListener
 
 public interface HttpSessionBindingListener extends java.util.EventListenerCauses an object to be notified when it is bound to or unbound from a session. The object is notified by anHttpSessionBindingEventobject. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.- See Also:
- HttpSession,- HttpSessionBindingEvent
 
- 
- 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default voidvalueBound(HttpSessionBindingEvent event)Notifies the object that it is being bound to a session and identifies the session.default voidvalueUnbound(HttpSessionBindingEvent event)Notifies the object that it is being unbound from a session and identifies the session.
 
- 
- 
- 
Method Detail- 
valueBounddefault void valueBound(HttpSessionBindingEvent event) Notifies the object that it is being bound to a session and identifies the session. The default implementation is a NO-OP.- Parameters:
- event- the event that identifies the session
- See Also:
- valueUnbound(javax.servlet.http.HttpSessionBindingEvent)
 
 - 
valueUnbounddefault void valueUnbound(HttpSessionBindingEvent event) Notifies the object that it is being unbound from a session and identifies the session. The default implementation is a NO-OP.- Parameters:
- event- the event that identifies the session
- See Also:
- valueBound(javax.servlet.http.HttpSessionBindingEvent)
 
 
- 
 
-