Class javax.servlet.http.HttpSessionBindingEvent
java.lang.Object
|
+----java.util.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.
- See Also:
- HttpSession, HttpSessionBindingListener
Method Summary
|
String
|
getName()
Returns the name to which the object is being bound or the name
from which the object is being unbound.
|
HttpSession
|
getSession()
Returns the session into which the listener is being bound or
from which the listener is being unbound.
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 String getName()
- Returns the name to which the object is being bound or the name
from which the object is being unbound.
getSession
public HttpSession getSession()
- Returns the session into which the listener is being bound or
from which the listener is being unbound.
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.