1 #ifndef _STANDARD_HANDLERS_HPP_
2 #define _STANDARD_HANDLERS_HPP_
7 #include <boost/shared_ptr.hpp>
8 #include <boost/algorithm/string.hpp>
25 RequestHandler(
"kch-stats",
"retrieves the application statistics")
45 RequestHandler(
"kch-errstat",
"retrieves the application error states")
62 RequestHandler(
"kch-errclear",
"Used to marks an application error state as cleared.")
79 RequestHandler(
"kch-handlers",
"shows a list of the request handlers for this application"),
98 RequestHandler(
"kch-loglevel",
"Adjust the log level to specified levels")
111 #endif // _STANDARD_HANDLERS_HPP_
StatsReporter()
Definition: standard_handlers.hpp:24
void run(const BoostPtree &request, BoostPtree &response)
Definition: standard_handlers.cpp:136
Definition: request_router.hpp:43
~LogLevelAdjuster()
Definition: standard_handlers.hpp:103
Definition: standard_handlers.hpp:94
LogLevelAdjuster()
Definition: standard_handlers.hpp:97
void run(const BoostPtree &request, BoostPtree &response)
Definition: standard_handlers.cpp:167
boost::property_tree::ptree BoostPtree
Definition: boost_ptree.hpp:31
~StatsReporter()
Definition: standard_handlers.hpp:30
Definition: standard_handlers.hpp:41
~ErrorReporter()
Definition: standard_handlers.hpp:50
void run(const BoostPtree &request, BoostPtree &response)
Definition: standard_handlers.cpp:6
Definition: standard_handlers.hpp:58
ErrorCleaner()
Definition: standard_handlers.hpp:61
Definition: logstream.hpp:145
void run(const BoostPtree &request, BoostPtree &response)
Definition: standard_handlers.cpp:67
Definition: standard_handlers.hpp:21
Definition: standard_handlers.hpp:75
ErrorReporter()
Definition: standard_handlers.hpp:44
~ErrorCleaner()
Definition: standard_handlers.hpp:67
HandlerReporter(RequestRouter &rr)
Definition: standard_handlers.hpp:78
Definition: request_handler.hpp:33
void run(const BoostPtree &request, BoostPtree &response)
Definition: standard_handlers.cpp:100
~HandlerReporter()
Definition: standard_handlers.hpp:85