Class javax.servlet.http.HttpSessionBindingEvent
All Packages Class Hierarchy This Package Previous Next Index
Class javax.servlet.http.HttpSessionBindingEvent
Object
|
+----EventObject
|
+----javax.servlet.http.HttpSessionBindingEvent
- public class HttpSessionBindingEvent
- extends EventObject
This event is communicated to a HttpSessionBindingListener whenever the
listener is bound to or unbound from a HttpSession value.
The event's
source is the HttpSession: binding occurs with a call to
HttpSession.putValue; unbinding occurs with a call to HttpSession.removeValue.
- Version:
- 1.6, 10/15/97
- See Also:
- HttpSession, HttpSessionBindingListener
-
javax.servlet.http.HttpSessionBindingEvent(HttpSession, String)
- Constructs a new HttpSessionBindingEvent
-
getName()
- Returns the name to which the object is being bound or the name
from which the object is being unbound.
-
getSession()
- Returns the session into which the listener is being bound or
from which the listener is being unbound.
HttpSessionBindingEvent
public HttpSessionBindingEvent(HttpSession session,
String name)
- Constructs a new HttpSessionBindingEvent
- Parameters:
- session - the session acting as the source of the event
- name - the name to which the object is being bound or
the name from which the object is being unbound
getName
public java.lang.String getName()
- Returns the name to which the object is being bound or the name
from which the object is being unbound.
getSession
public javax.servlet.http.HttpSession getSession()
- Returns the session into which the listener is being bound or
from which the listener is being unbound.
All Packages Class Hierarchy This Package Previous Next Index