HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Abstract base class for implementing HTTP session ID generator. More...
#include <rwsf/servlet/http/HttpSessionIdGenerator.h>
Public Member Functions | |
virtual | ~HttpSessionIdGenerator () |
virtual std::string | generateSessionId ()=0 |
Related Functions | |
(Note that these are not member functions.) | |
#define | RWSF_DEFINE_HTTP_SESSION_ID_GENERATOR(NAME) |
rwsf::HttpSessionIdGenerator serves as a base class for implementing a unique string generator used by the servlet container to identify a session. To create a generator, derive from this class and override the generateSessionId() function.
To register a generator, see RWSF_DEFINE_HTTP_SESSION_ID_GENERATOR documentation.
|
inlinevirtual |
Destuctor.
|
pure virtual |
Returns a unique string.
|
related |
Defines a function that returns an instance of NAME. The Agent uses the function to construct an instance of HttpSessionIdGenerator. For example, to register MyGenerator:
and then add the property "http-session-id-generator" with the value of "library.createMyGenerator" to the handler chain for the servlet type in the main configuration file (usually <installdir>/conf/rwagent.xml).
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |