public class HttpSessionBindingEvent extends HttpSessionEvent
Constructor and Description |
---|
HttpSessionBindingEvent(HttpSession session,
java.lang.String name)
Create a new session binding event.
|
HttpSessionBindingEvent(HttpSession session,
java.lang.String name,
java.lang.Object value)
Create a new session binding event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the session variable name.
|
HttpSession |
getSession()
Returns the session.
|
java.lang.Object |
getValue()
Returns the session variable value.
|
public HttpSessionBindingEvent(HttpSession session, java.lang.String name)
session
- the http sessionname
- the session attribute name.public HttpSessionBindingEvent(HttpSession session, java.lang.String name, java.lang.Object value)
session
- the http sessionname
- the session attribute name.value
- the session attribute value.public java.lang.String getName()
public java.lang.Object getValue()
public HttpSession getSession()
getSession
in class HttpSessionEvent