|
| | HandlerDbObjectFunction (std::weak_ptr< DbObjectEndpoint > endpoint, mrs::interface::AuthorizeManager *auth_manager, mrs::GtidManager *gtid_manager=nullptr, collector::MysqlCacheManager *cache=nullptr, mrs::ResponseCache *response_cache=nullptr, mrs::database::SlowQueryMonitor *slow_monitor=nullptr, mrs::database::MysqlTaskMonitor *task_monitor=nullptr) |
| |
| HttpResult | handle_get (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_delete (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_put (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_post (rest::RequestContext *ctxt, const std::vector< uint8_t > &document) override |
| |
| uint32_t | get_access_rights () const override |
| |
Public Member Functions inherited from mrs::endpoint::handler::HandlerDbObjectTable |
| | HandlerDbObjectTable (std::weak_ptr< DbObjectEndpoint > endpoint, mrs::interface::AuthorizeManager *auth_manager, mrs::GtidManager *gtid_manager=nullptr, collector::MysqlCacheManager *cache=nullptr, mrs::ResponseCache *response_cache=nullptr, mrs::database::SlowQueryMonitor *slow_monitor=nullptr) |
| |
| Authorization | requires_authentication () const override |
| |
| UniversalId | get_service_id () const override |
| |
| UniversalId | get_db_object_id () const override |
| |
| UniversalId | get_schema_id () const override |
| |
| const std::string & | get_service_path () const override |
| |
| const std::string & | get_db_object_path () const override |
| |
| const std::string & | get_schema_path () const override |
| |
| void | authorization (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_get (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_post (rest::RequestContext *ctxt, const std::vector< uint8_t > &document) override |
| | Post is insert. More...
|
| |
| HttpResult | handle_delete (rest::RequestContext *ctxt) override |
| |
| HttpResult | handle_put (rest::RequestContext *ctxt) override |
| |
| uint32_t | get_access_rights () const override |
| |
Public Member Functions inherited from mrs::rest::Handler |
| | Handler (const Protocol protocol, const std::string &url_host, const std::vector< UriPathMatcher > &rest_path_matcher, const std::optional< std::string > &options, interface::AuthorizeManager *auth_manager) |
| |
| | ~Handler () override |
| |
| void | initialize (const Configuration &configuration) override |
| |
| const std::string & | get_url_host () const override |
| |
| const std::string & | get_protocol () const override |
| |
| bool | may_check_access () const override |
| |
| void | authorization (RequestContext *ctxt) override |
| |
| bool | request_begin (RequestContext *ctxt) override |
| |
| void | request_end (RequestContext *ctxt) override |
| |
| bool | request_error (RequestContext *ctxt, const http::Error &e) override |
| | Error handler. More...
|
| |
| const interface::Options & | get_options () const override |
| |
| void | throw_unauthorize_when_check_auth_fails (RequestContext *) |
| |
| uint32_t | check_privileges (const std::vector< database::entry::AuthPrivilege > &privileges, const UniversalId &service_id, const std::string &service_path, const UniversalId &schema_id, const std::string &schema_path, const UniversalId &db_object_id, const std::string &db_object_path) |
| |
Public Member Functions inherited from mrs::interface::RestHandler |
| virtual | ~RestHandler ()=default |
| |
| virtual void | initialize (const Configuration &configuration)=0 |
| |