Class HttpSessionEvent

  • Direct Known Subclasses:

    public class HttpSessionEvent
    extends java.util.EventObject
    This is the class representing event notifications for changes to sessions within a web application.
    Servlet 2.3
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

    • Constructor Summary

      Constructor Description
      HttpSessionEvent​(HttpSession source)
      Construct a session event from the given source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
        source - the HttpSession corresponding to this event
    • Method Detail

      • getSession

        public HttpSession getSession​()
        Return the session that changed.
        the HttpSession for this event.