MySQL 9.1.0
Source Code Documentation
RestRoutingDestinations Class Reference

#include <rest_routing_destinations.h>

Inheritance diagram for RestRoutingDestinations:
[legend]

Public Member Functions

 RestRoutingDestinations (const std::string &require_realm)
 
bool on_handle_request (http::base::Request &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
 
- Public Member Functions inherited from RestApiHandler
 RestApiHandler (const std::string &require_realm, HttpMethod::Bitset allowed_methods)
 
bool try_handle_request (http::base::Request &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
 try to handle the request. More...
 
- Public Member Functions inherited from BaseRestApiHandler
 BaseRestApiHandler ()=default
 
 BaseRestApiHandler (const BaseRestApiHandler &)=default
 
 BaseRestApiHandler (BaseRestApiHandler &&)=default
 
BaseRestApiHandleroperator= (const BaseRestApiHandler &)=default
 
BaseRestApiHandleroperator= (BaseRestApiHandler &&)=default
 
virtual ~BaseRestApiHandler ()
 

Static Public Attributes

static constexpr const char path_regex [] = "^/routes/([^/]+)/destinations/?$"
 

Constructor & Destructor Documentation

◆ RestRoutingDestinations()

RestRoutingDestinations::RestRoutingDestinations ( const std::string &  require_realm)
inline

Member Function Documentation

◆ on_handle_request()

bool RestRoutingDestinations::on_handle_request ( http::base::Request req,
const std::string &  base_path,
const std::vector< std::string > &  path_matches 
)
overridevirtual

Implements RestApiHandler.

Member Data Documentation

◆ path_regex

constexpr const char RestRoutingDestinations::path_regex[] = "^/routes/([^/]+)/destinations/?$"
staticconstexpr

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