| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HttpSessionBindingEventEvents of this type are either sent to an object that implements
  HttpSessionBindingListenerwhen it is bound or unbound from a
 session, or to aHttpSessionAttributeListenerthat has been
 configured in the deployment descriptor when any attribute is bound, unbound
 or replaced in a session. | 
| 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.