[CPPSERV] [Documentation] [Download] [Contact] [Bug tracker] [News] [RSS Feed] [gitweb]
Public Member Functions | |
CSPContext (Context *parent, const std::string &path, const std::string &dso, bool hidden) | |
Static Public Member Functions | |
static Context * | contextCreator (const ServerConfig::ConfigNode &n, Context *parent) |
Protected Member Functions | |
virtual std::string | getServletName () |
Definition at line 421 of file serverconfig.h.
container::ServerConfig::CSPContext::CSPContext | ( | Context * | parent, | |
const std::string & | path, | |||
const std::string & | dso, | |||
bool | hidden | |||
) |
This context defines CSP (C++ Server Page). It is very similar to ServletContext, except it does some mangling on servlet name before actually trying to create it.
parent | Parent context | |
path | Virtual path this CSP is mapped to | |
dso | path to shared library that contains this CSP | |
hidden | Whether to enable access to this CSP through HTTP |
Definition at line 225 of file serverconfig.cpp.
std::string container::ServerConfig::CSPContext::getServletName | ( | ) | [protected, virtual] |
Reimplemented from container::ServerConfig::ServletContext.
Definition at line 415 of file serverconfig.cpp.
References container::ServerConfig::Context::getName(), and container::ServerConfig::Context::name.
Here is the call graph for this function:
ServerConfig::Context * container::ServerConfig::CSPContext::contextCreator | ( | const ServerConfig::ConfigNode & | n, | |
Context * | parent | |||
) | [static] |
Reimplemented from container::ServerConfig::ServletContext.
Definition at line 373 of file serverconfig.cpp.
References container::ServerConfig::ServletContext::dso, container::ServerConfig::fart(), container::ServerConfig::ConfigNode::getAttrs(), container::ServerConfig::ServletContext::hidden, container::ServerConfig::Context::parent, and container::ServerConfig::ServletContext::path.
Referenced by container::ServerConfig::AppContext::registerContexts().
Here is the call graph for this function: