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.EventObjectThis is the class representing event notifications for changes to sessions within a web application.- Since:
- Servlet 2.3
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description HttpSessionEvent(HttpSession source)Construct a session event from the given source.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpSessiongetSession()Get the session that changed.
 
- 
- 
- 
Constructor Detail- 
HttpSessionEventpublic HttpSessionEvent(HttpSession source) Construct a session event from the given source.- Parameters:
- source- The HTTP session where the change took place
 
 
- 
 - 
Method Detail- 
getSessionpublic HttpSession getSession() Get the session that changed.- Returns:
- The session that changed
 
 
- 
 
-