public interface HttpSessionBindingListener extends 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)
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.