MySQL 9.0.0
Source Code Documentation
|
REST API handler for /swagger.json. More...
#include <rest_api.h>
Public Member Functions | |
RestApiSpecHandler (std::shared_ptr< RestApi > rest_api, const std::string &require_realm) | |
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 | |
BaseRestApiHandler & | operator= (const BaseRestApiHandler &)=default |
BaseRestApiHandler & | operator= (BaseRestApiHandler &&)=default |
virtual | ~BaseRestApiHandler () |
Private Attributes | |
std::shared_ptr< RestApi > | rest_api_ |
time_t | last_modified_ |
std::string | require_realm_ |
REST API handler for /swagger.json.
|
inline |
|
overridevirtual |
try to handle the request.
true | request has been handled and a response has been sent |
false | request has not been handled (no response has been sent) |
Implements BaseRestApiHandler.
|
private |
|
private |
|
private |