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

The event object for session changes.

Since:
Servlet 2.3
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HttpSessionEvent(HttpSession session)
          Create a new session event.
 
Method Summary
 HttpSession getSession()
          Returns the session.
 
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
 

Constructor Detail

HttpSessionEvent

public HttpSessionEvent(HttpSession session)
Create a new session event.
Parameters:
session - the http session
Method Detail

getSession

public HttpSession getSession()
Returns the session.