5 #ifndef _ROOT_REST_SERVER_H_
6 #define _ROOT_REST_SERVER_H_
40 : request_regex(request_regex),
42 handler_func(handler_func) {}
74 #endif // _ROOT_REST_SERVER_H_
void VmPortDeleteHandler(const struct RESTData &)
void HandleRequest(HttpSession *session, const HttpRequest *request)
void VmPortDisableHandler(const struct RESTData &data)
const HttpRequest * request
void GatewayDeleteHandler(const struct RESTData &data)
static const std::vector< HandlerSpecifier > RESTHandlers_
const boost::smatch * match
void VmPortGetHandler(const struct RESTData &)
void VmPortEnableHandler(const struct RESTData &data)
HandlerSpecifier(const contrail::regex &request_regex, enum http_method method, HandlerFunc handler_func)
void(RestServer::* HandlerFunc)(const struct RESTData &)
void VmVnPortGetHandler(const struct RESTData &)
void VmPortSyncHandler(const struct RESTData &data)
void GatewayPostHandler(const struct RESTData &data)
void VmPortPostHandler(const struct RESTData &)
void VmVnPortDeleteHandler(const struct RESTData &)
contrail::regex request_regex
HttpServer * http_server_
DISALLOW_COPY_AND_ASSIGN(RestServer)
void VmVnPortPostHandler(const struct RESTData &)
void VmVnPortCfgGetHandler(const struct RESTData &data)