HydraExpress™ C++ 2019 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Base class for listeners that receive HTTP session event notifications. Derive from this class to create a listener. More...
#include <rwsf/servlet/http/HttpSessionListener.h>
Public Member Functions | |
virtual | ~HttpSessionListener () |
virtual void | attributeAdded (const rwsf::HttpSessionBindingEvent &se) |
virtual void | attributeRemoved (const rwsf::HttpSessionBindingEvent &se) |
virtual void | attributeReplaced (const rwsf::HttpSessionBindingEvent &se) |
virtual void | sessionCreated (const rwsf::HttpSessionEvent &event) |
virtual void | sessionDestroyed (const rwsf::HttpSessionEvent &event) |
rwsf::HttpSessionListener is a base class for listeners that receive notification of HTTP session events. To create a listener, derive from this class and override the functions that receive the events of interest. To register a listener, include a deployment descriptor for the listener class in the configuration file of the context. For more information on deployment descriptors and contexts see the Servlet Development Guide.
The behavior of the following functions are inconsistent with or not defined in the Java Servlet Specification v2.3.
attributeAdded() | Added method. |
attributeRemoved() | Added method. |
attributeReplaced() | Added method. |
valueBound(), valueUnbound() | These methods from the HttpSessionBindingListener have been replaced by attributeReplaced(), attributeAdded(), and attributeRemoved(). |
|
virtual |
Destructor.
|
virtual |
Receives an event when a session adds an attribute.
|
virtual |
Receives an event when a session removes an attribute.
|
virtual |
Receives an event when a session replaces an attribute.
|
virtual |
Receives an event when the Agent creates a session.
|
virtual |
Receives an event when the Agent destroys a session.
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |