public class HttpSessionBindingEvent
extends java.util.EventObject
HttpSessionBindingListener when the object is
bound to or unbound from the session.
The session binds the object by a call to
HttpSession.putValue and unbinds the object
by a call to HttpSession.removeValue.
HttpSession,
HttpSessionBindingListener,
Serialized Form| Constructor and Description |
|---|
HttpSessionBindingEvent(HttpSession session,
java.lang.String name)
Constructs an event that notifies an object that it
has been bound to or unbound from a session.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name with which the object is bound to or
unbound from the session.
|
HttpSession |
getSession()
Returns the session to or from which the object is
bound or unbound.
|
public HttpSessionBindingEvent(HttpSession session, java.lang.String name)
HttpSessionBindingListener.session - the session to which the object is bound or unboundname - the name with which the object is bound or unboundgetName(),
getSession()public java.lang.String getName()
public HttpSession getSession()
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.