Constructor of HttpSessionBindingEvent class
- public HttpSessionBindingEvent(HttpSession session, java.lang.String name)
- public HttpSessionBindingEvent(HttpSession session, java.lang.String name, java.lang.Object value): Constructs an event that notifies an object that it has been bound to or unbound from a session
- public HttpSession getSession(): Return the session that changed.
- public java.lang.String getName(): Returns the name with which the attribute is bound to or unbound from the session.
- public java.lang.Object getValue(): Returns the value of the attribute that has been added, removed or replaced. If the attribute was added (or bound), this is the value of the attribute. If the attribute was removed (or unbound), this is the value of the removed attribute. If the attribute was replaced, this is the old value of the attribute.
- void valueBound(HttpSessionBindingEvent event): Notifies the object that it is being bound to a session and identifies the session.
- void valueUnbound(HttpSessionBindingEvent event): Notifies the object that it is being unbound from a session and identifies the session.
No comments:
Post a Comment