cxxtools::json::HttpService Class Reference

#include <cxxtools/json/httpservice.h>

Inheritance diagram for cxxtools::json::HttpService:
cxxtools::http::Service cxxtools::ServiceRegistry

Public Member Functions

 HttpService ()
virtual ~HttpService ()
- Public Member Functions inherited from cxxtools::http::Service
 Service ()
virtual ~Service ()
ResponderdoCreateResponder (const Request &)
void doReleaseResponder (Responder *)
bool checkAuth (const Request &request)
void setRealm (const std::string &realm, const std::string &content=std::string())
const std::string & realm () const
const std::string & authContent () const
void addAuthenticator (const Authenticator *auth)
void waitIdle ()
- Public Member Functions inherited from cxxtools::ServiceRegistry
 ServiceRegistry ()
 ~ServiceRegistry ()
template<typename R >
void registerFunction (const std::string &name, R(*fn)())
template<typename R , typename A1 >
void registerFunction (const std::string &name, R(*fn)(A1))
template<typename R , typename A1 , typename A2 >
void registerFunction (const std::string &name, R(*fn)(A1, A2))
template<typename R , typename A1 , typename A2 , typename A3 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5, A6))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5, A6, A7))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5, A6, A7, A8))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5, A6, A7, A8, A9))
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 , typename A10 >
void registerFunction (const std::string &name, R(*fn)(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10))
template<typename R >
void registerCallable (const std::string &name, const Callable< R > &cb)
template<typename R , typename A1 >
void registerCallable (const std::string &name, const Callable< R, A1 > &cb)
template<typename R , typename A1 , typename A2 >
void registerCallable (const std::string &name, const Callable< R, A1, A2 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5, A6 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5, A6, A7 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5, A6, A7, A8 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5, A6, A7, A8, A9 > &cb)
template<typename R , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 , typename A10 >
void registerCallable (const std::string &name, const Callable< R, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 > &cb)
template<typename R , class C >
void registerMethod (const std::string &name, C &obj, R(C::*method)())
template<typename R , class C , typename A1 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1))
template<typename R , class C , typename A1 , typename A2 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2))
template<typename R , class C , typename A1 , typename A2 , typename A3 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5, A6))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5, A6, A7))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5, A6, A7, A8))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5, A6, A7, A8, A9))
template<typename R , class C , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 , typename A10 >
void registerMethod (const std::string &name, C &obj, R(C::*method)(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10))
ServiceProceduregetProcedure (const std::string &name) const
void releaseProcedure (ServiceProcedure *proc) const
std::vector< std::string > getProcedureNames () const

Protected Member Functions

virtual http::RespondercreateResponder (const http::Request &)
virtual void releaseResponder (http::Responder *resp)
- Protected Member Functions inherited from cxxtools::ServiceRegistry
void registerProcedure (const std::string &name, ServiceProcedure *proc)

Friends

class Responder

Constructor & Destructor Documentation

cxxtools::json::HttpService::HttpService ( )
inline
virtual cxxtools::json::HttpService::~HttpService ( )
virtual

Member Function Documentation

virtual http::Responder* cxxtools::json::HttpService::createResponder ( const http::Request )
protectedvirtual
virtual void cxxtools::json::HttpService::releaseResponder ( http::Responder resp)
protectedvirtual

Friends And Related Function Documentation

friend class Responder
friend

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