Top Description Methods
jakarta.servlet.http

public Interface HttpSessionBindingListener

extends EventListener
Known Direct Implementers
org.apache.catalina.valves.CrawlerSessionManagerValve.CrawlerHttpSessionBindingListener
Imports
java.util.EventListener

Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an 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.
See Also
HttpSession, HttpSessionBindingEvent

Method Summary

Modifier and TypeMethod and Description
public default void
valueBound(HttpSessionBindingEvent
the event that identifies the session
event
)

Notifies the object that it is being bound to a session and identifies the session.

public default void
valueUnbound(HttpSessionBindingEvent
the event that identifies the session
event
)

Notifies the object that it is being unbound from a session and identifies the session.

Method Detail

valueBoundback to summary
public default 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:HttpSessionBindingEvent

the event that identifies the session

See Also
valueUnbound
valueUnboundback to summary
public default 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:HttpSessionBindingEvent

the event that identifies the session

See Also
valueBound