MySQL 8.4.0
Source Code Documentation
RestRoutingConfig Class Reference

#include <rest_routing_config.h>

Inheritance diagram for RestRoutingConfig:
[legend]

Public Member Functions

 RestRoutingConfig (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/([^/]+)/config/?$"
 

Constructor & Destructor Documentation

◆ RestRoutingConfig()

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

Member Function Documentation

◆ on_handle_request()

bool RestRoutingConfig::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 RestRoutingConfig::path_regex[] = "^/routes/([^/]+)/config/?$"
staticconstexpr

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