HydraExpress™ C++ 2019 |
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 an base class for implementing an unique string generator used by 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" in the handler chain for servlet type in main configuration file (usually <installdir>/conf/rwagent.xml).
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |