OpenSDN source code
RestServer::HandlerSpecifier Class Reference

#include <rest_server.h>

Collaboration diagram for RestServer::HandlerSpecifier:

Public Types

typedef void(RestServer::* HandlerFunc) (const struct RESTData &)
 

Public Member Functions

 HandlerSpecifier (const contrail::regex &request_regex, enum http_method method, HandlerFunc handler_func)
 

Public Attributes

contrail::regex request_regex
 
enum http_method method
 
HandlerFunc handler_func
 

Detailed Description

Definition at line 33 of file rest_server.h.

Member Typedef Documentation

◆ HandlerFunc

typedef void(RestServer::* RestServer::HandlerSpecifier::HandlerFunc) (const struct RESTData &)

Definition at line 35 of file rest_server.h.

Constructor & Destructor Documentation

◆ HandlerSpecifier()

RestServer::HandlerSpecifier::HandlerSpecifier ( const contrail::regex request_regex,
enum http_method  method,
HandlerFunc  handler_func 
)
inline

Definition at line 37 of file rest_server.h.

Member Data Documentation

◆ handler_func

HandlerFunc RestServer::HandlerSpecifier::handler_func

Definition at line 46 of file rest_server.h.

◆ method

enum http_method RestServer::HandlerSpecifier::method

Definition at line 44 of file rest_server.h.

◆ request_regex

contrail::regex RestServer::HandlerSpecifier::request_regex

Definition at line 44 of file rest_server.h.


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