javax.servlet.http
public class HttpSessionBindingEvent extends HttpSessionEvent
The session binds the object by a call to
HttpSession.setAttribute
and unbinds the object
by a call to HttpSession.removeAttribute
.
Version: $Revision: 1.5 $ $Date: 2004/09/23 08:05:30 $
See Also: HttpSession HttpSessionBindingListener
Constructor Summary | |
---|---|
HttpSessionBindingEvent(HttpSession session, String name)
Constructs an event that notifies an object that it
has been bound to or unbound from a session.
| |
HttpSessionBindingEvent(HttpSession session, String name, Object value)
Constructs an event that notifies an object that it
has been bound to or unbound from a session.
|
Method Summary | |
---|---|
String | getName()
Returns the name with which the attribute is bound to or unbound from
the session.
|
HttpSession | getSession()
Return the session that changed. |
Object | getValue()
Returns the value of the attribute that has been added, removed or
replaced. |
Parameters: session the session to which the object is bound or unbound name the name with which the object is bound or unbound
Parameters: session the session to which the object is bound or unbound name the name with which the object is bound or unbound
Returns: a string specifying the name with which the object is bound to or unbound from the session
Since: Servlet 2.3