## Uses of Class
javax.servlet.http.HttpSessionEvent

- Packages that use HttpSessionEvent
  Package | Description
  --- | ---
  javax.servlet.http | The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.

- - ### Uses of HttpSessionEvent in javax.servlet.http

    Subclasses of HttpSessionEvent in javax.servlet.http
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpSessionBindingEvent` Events of this type are either sent to an object that implements `HttpSessionBindingListener` when it is bound or unbound from a session, or to a `HttpSessionAttributeListener` that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.

    Methods in javax.servlet.http with parameters of type HttpSessionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpSessionListener.`sessionCreated(HttpSessionEvent se)` Receives notification that a session has been created.
    `void` | HttpSessionListener.`sessionDestroyed(HttpSessionEvent se)` Receives notification that a session is about to be invalidated.
    `void` | HttpSessionActivationListener.`sessionDidActivate(HttpSessionEvent se)` Notification that the session has just been activated.
    `void` | HttpSessionIdListener.`sessionIdChanged(HttpSessionEvent event, String oldSessionId)` Receives notification that session id has been changed in a session.
    `void` | HttpSessionActivationListener.`sessionWillPassivate(HttpSessionEvent se)` Notification that the session is about to be passivated.

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