javax.servlet.http
Class HttpSessionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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:
Servlet 2.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HttpSessionEvent(HttpSession source)
          Construct a session event from the given source.
 
Method Summary
 HttpSession getSession()
          Return the session that changed.
 
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 source)
Construct a session event from the given source.

Method Detail

getSession

public HttpSession getSession()
Return the session that changed.



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41