-
- All Superinterfaces:
- EventListener
public interface HttpSessionBindingListener extends EventListener
Causes an object to be notified when it is bound to or unbound from a session. The object is notified by anHttpSessionBindingEvent
object. 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.- Author:
- Various
- See Also:
HttpSession
,HttpSessionBindingEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
valueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.void
valueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.
-
-
-
Method Detail
-
valueBound
void valueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.- Parameters:
event
- the event that identifies the session- See Also:
valueUnbound(javax.servlet.http.HttpSessionBindingEvent)
-
valueUnbound
void valueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.- Parameters:
event
- the event that identifies the session- See Also:
valueBound(javax.servlet.http.HttpSessionBindingEvent)
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/servlet/http/HttpSessionBindingListener.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.