public class HttpSessionBindingEvent
extends javax.servlet.http.HttpSessionBindingEvent
AttributeHolder
to obtain the value associated with the event.Modifier and Type | Field and Description |
---|---|
protected AttributeHolder |
m_holder
An AttributeHolder that can be used to retrieve the value of the attribute that has been added, removed or replaced.
|
source
Constructor and Description |
---|
HttpSessionBindingEvent(javax.servlet.http.HttpSession session, String sName, AttributeHolder holder)
Constructs an event that notifies an object that it has been bound to or unbound from a session.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Returns the value of the attribute that has been added, removed or replaced.
|
getSource, toString
protected AttributeHolder m_holder
public HttpSessionBindingEvent(javax.servlet.http.HttpSession session, String sName, AttributeHolder holder)
session
- the session to which the object is bound or unboundsName
- the name with which the object is bound or unboundholder
- an AttributeHolder that can be used to retrieve the value of the attribute that has been added, removed or replaced; see #getValuepublic Object getValue()
getValue
in class javax.servlet.http.HttpSessionBindingEvent