24 #include <pistache/endpoint.h> 25 #include <pistache/http_header.h> 26 #include <pistache/router.h> 45 void parse(
const std::string &data)
52 void write(std::ostream &os)
const 104 virtual Void process(
const Pistache::Rest::Request& request, Pistache::Http::ResponseWriter &response) = 0;
109 Void handler(
const Pistache::Rest::Request& request, Pistache::Http::ResponseWriter response);
117 Pistache::Rest::Route::Handler getHandler();
149 Void init(
size_t thrds);
151 std::shared_ptr<Pistache::Http::Endpoint> m_endpoint;
152 Pistache::Rest::Router m_router;
154 static Bool m_username_header_registered;
157 #endif // #ifndef __EMGMT_H Encapsulates and extends a std::string object.
HttpMethod httpMethod()
Returns the HTTP method for this HTTP handler.
Definition: emgmt.h:114
HttpMethod
Represents the type of the handler.
Definition: emgmt.h:71
Provides class for manipulating time of day values.
Defines the logging related classes.
Defines a logger.
Definition: elogger.h:76
const EString & path()
Returns the route path for this HTTP handler.
Definition: emgmt.h:112
Implemts the HTTP server endpoint.
Definition: emgmt.h:128
Pure virtual base class for an administrative management interface handler.
Definition: emgmt.h:65
String class.
Definition: estring.h:31