Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

container::RequestHandler Class Reference

#include <requesthandler.h>

Inheritance diagram for container::RequestHandler:
Collaboration diagram for container::RequestHandler:

List of all members.


struct  ServDesc

Public Member Functions

 RequestHandler (Connection *con)
virtual ~RequestHandler ()
virtual void taskFunction ()

Static Public Member Functions

static bool addServlet (const std::string &, ServletContainer *)
static bool removeServlet (const std::string &name)

Private Types

typedef ServletMap< ServDescurlmap_t

Private Member Functions

void noSuchServlet ()

Private Attributes


Static Private Attributes

static urlmap_t m_urlMap
static sptk::CRWLock m_servletMapLock
static std::string m_noSuchServletText

Detailed Description

Actual thread within which request handling is happenning.

Ilya A. Volynets-Evenbakh

Definition at line 42 of file requesthandler.h.

Member Typedef Documentation

Definition at line 57 of file requesthandler.h.

Constructor & Destructor Documentation

container::RequestHandler::RequestHandler ( Connection con  ) 

Definition at line 33 of file requesthandler.cpp.

container::RequestHandler::~RequestHandler (  )  [virtual]

Definition at line 39 of file requesthandler.cpp.

References m_con.

Member Function Documentation

bool container::RequestHandler::addServlet ( const std::string &  name,
ServletContainer cont 
) [static]

Definition at line 77 of file requesthandler.cpp.

References container::ServletMap< T >::getServletDesc(), m_servletMapLock, and m_urlMap.

Referenced by container::serverconfig::AppContext::addServlet().

Here is the call graph for this function:

void container::RequestHandler::noSuchServlet (  )  [private]

Definition at line 65 of file requesthandler.cpp.

References m_con, m_noSuchServletText, and servlet::HttpServletResponse::SC_NOT_FOUND.

Referenced by taskFunction().

bool container::RequestHandler::removeServlet ( const std::string &  name  )  [static]

Member Data Documentation

std::string container::RequestHandler::m_noSuchServletText [static, private]

Definition at line 61 of file requesthandler.h.

Referenced by noSuchServlet().

sptk::CRWLock container::RequestHandler::m_servletMapLock [static, private]

Definition at line 59 of file requesthandler.h.

Referenced by addServlet(), removeServlet(), and taskFunction().

The documentation for this class was generated from the following files:

SourceForge.net Logo