MySQL 9.1.0
Source Code Documentation
RestRoutingBlockedHosts Class Reference

#include <rest_routing_blocked_hosts.h>

Inheritance diagram for RestRoutingBlockedHosts:
[legend]

Public Member Functions

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

Constructor & Destructor Documentation

◆ RestRoutingBlockedHosts()

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

Member Function Documentation

◆ on_handle_request()

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

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