Package javax.servlet.http
Class HttpSessionEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.servlet.http.HttpSessionEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HttpSessionBindingEvent
public class HttpSessionEvent extends java.util.EventObject
This is the class representing event notifications for changes to sessions within a web application.- Since:
- v 2.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpSessionEvent(HttpSession source)
Construct a session event from the given source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpSession
getSession()
Get the session that changed.
-
-
-
Constructor Detail
-
HttpSessionEvent
public HttpSessionEvent(HttpSession source)
Construct a session event from the given source.- Parameters:
source
- The HTTP session where the change took place
-
-
Method Detail
-
getSession
public HttpSession getSession()
Get the session that changed.- Returns:
- The session that changed
-
-