#ifndef __HTTPService_h__ #define __HTTPService_h__ #include "Service.h" #include "HTTPSessions.h" #include "PageList.h" #include "Exception.h" #include "HTTPHandler.h" namespace http { class HTTPService : public core::Service { public: HTTPService() { commands.add(getHandler, "GET"); commands.add(postHandler, "POST"); } HTTPSessions httpSessions; PageList pageList; private: HTTPHandler getHandler; HTTPHandler postHandler; }; } #endif