public interface HttpSessionBindingListener
extends java.util.EventListener
HttpSessionBindingEvent
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.HttpSession
,
HttpSessionBindingEvent
Modifier and Type | Method and Description |
---|---|
default void |
valueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.
|
default void |
valueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.
|
default void valueBound(HttpSessionBindingEvent event)
event
- the event that identifies the sessionvalueUnbound(javax.servlet.http.HttpSessionBindingEvent)
default void valueUnbound(HttpSessionBindingEvent event)
event
- the event that identifies the sessionvalueBound(javax.servlet.http.HttpSessionBindingEvent)