Package jakarta.servlet.http
Class HttpSessionEvent
java.lang.Object
java.util.EventObject
jakarta.servlet.http.HttpSessionEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpSessionBindingEvent
public class HttpSessionEvent extends EventObject
This is the class representing event notifications for changes to sessions within a web application.
- Since:
- Servlet 2.3
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HttpSessionEvent(HttpSession source)
Construct a session event from the given source. -
Method Summary
Modifier and Type Method Description HttpSession
getSession()
Return the session that changed.
-
Constructor Details
-
HttpSessionEvent
Construct a session event from the given source.- Parameters:
source
- theHttpSession
corresponding to this event
-
-
Method Details
-
getSession
Return the session that changed.- Returns:
- the
HttpSession
for this event.
-