|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.servlet.http.HttpSessionBindingEvent
Send to an Object that implements HttpSessionBindingListener
when bound into a session or unbound from a session. Gives access to the
session and the name used to bind the Object to the session.
HttpSession
,
HttpSession.putValue(java.lang.String, java.lang.Object)
,
HttpSession.removeValue(java.lang.String)
,
HttpSession.invalidate()
,
HttpSessionBindingListener
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
HttpSessionBindingEvent(HttpSession session,
java.lang.String name)
Creates a new HttpSessionBindingEvent given the session
and the name used. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name used to refer to this Object. |
HttpSession |
getSession()
Returns the session the Object was bound to or unbound from. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HttpSessionBindingEvent(HttpSession session, java.lang.String name)
HttpSessionBindingEvent
given the session
and the name used.
session
- which the Object was bound to or unbound fromname
- which was used to refer to the objectMethod Detail |
public java.lang.String getName()
public HttpSession getSession()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |