当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class HttpSessionEvent - Java Platform, Enterprise Edition v1.3.1 API Specifications
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
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HttpSessionEvent
public HttpSessionEvent(HttpSession source)
- Construct a session event from the given source.
getSession
public HttpSession getSession()
- Return the session that changed.