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 |
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. |
Modifier and Type | Method and Description |
---|---|
default void |
HttpSessionListener.sessionCreated(HttpSessionEvent se)
Receives notification that a session has been created.
|
default void |
HttpSessionListener.sessionDestroyed(HttpSessionEvent se)
Receives notification that a session is about to be invalidated.
|
default 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.
|
default void |
HttpSessionActivationListener.sessionWillPassivate(HttpSessionEvent se)
Notification that the session is about to be passivated.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.