26#ifndef ROUTER_SRC_REST_MRS_SRC_MRS_INTERFACE_HANDLER_FACTORY_H_
27#define ROUTER_SRC_REST_MRS_SRC_MRS_INTERFACE_HANDLER_FACTORY_H_
54 virtual std::shared_ptr<mrs::endpoint::handler::PersistentDataContentFile>
80 std::shared_ptr<mrs::endpoint::handler::PersistentDataContentFile>) = 0;
96 bool requires_authentication,
const Uri &url,
const std::string &
path,
97 const std::string &
file_name,
const std::string &file_content,
101 bool requires_authentication,
const Uri &url,
const std::string &
path,
102 const std::string &
file_name,
const std::string &redirection_path,
103 const bool pernament) = 0;
Definition: authorize_manager.h:58
Definition: endpoint_base.h:57
std::optional< std::vector< std::string > > OptionalIndexNames
Definition: endpoint_base.h:68
Definition: handler_factory.h:43
EndpointBase::OptionalIndexNames OptionalIndexNames
Definition: handler_factory.h:50
virtual std::shared_ptr< Handler > create_db_object_handler(EndpointBasePtr db_object_endpoint)=0
virtual std::shared_ptr< Handler > create_db_schema_metadata_catalog_handler(EndpointBasePtr db_schema_endpoint)=0
virtual std::shared_ptr< Handler > create_authentication_user(EndpointBasePtr db_service_endpoint)=0
std::shared_ptr< EndpointBase > EndpointBasePtr
Definition: handler_factory.h:46
virtual std::shared_ptr< Handler > create_db_object_openapi_handler(EndpointBasePtr db_object_endpoint)=0
virtual std::shared_ptr< Handler > create_string_handler(EndpointBasePtr endpoint, const UniversalId &service_id, bool requires_authentication, const Uri &url, const std::string &path, const std::string &file_name, const std::string &file_content, bool is_index)=0
virtual std::shared_ptr< Handler > create_authentication_completed(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_db_object_metadata_handler(EndpointBasePtr db_object_endpoint)=0
virtual std::shared_ptr< Handler > create_db_service_debug_handler(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_authentication_logout(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_authentication_auth_apps(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_content_file(EndpointBasePtr db_object_endpoint, std::shared_ptr< mrs::endpoint::handler::PersistentDataContentFile >)=0
virtual std::shared_ptr< Handler > create_authentication_status(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< mrs::endpoint::handler::PersistentDataContentFile > create_persisten_content_file(EndpointBasePtr conent_file_endpoint, const OptionalIndexNames &index_names)=0
virtual std::shared_ptr< Handler > create_db_service_metadata_handler(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_db_schema_metadata_handler(EndpointBasePtr db_schema_endpoint)=0
virtual ~HandlerFactory()=default
virtual std::shared_ptr< Handler > create_redirection_handler(EndpointBasePtr endpoint, const UniversalId &service_id, bool requires_authentication, const Uri &url, const std::string &path, const std::string &file_name, const std::string &redirection_path, const bool pernament)=0
virtual std::shared_ptr< Handler > create_db_service_openapi_handler(EndpointBasePtr db_service_endpoint)=0
virtual std::shared_ptr< Handler > create_db_schema_openapi_handler(EndpointBasePtr db_schema_endpoint)=0
virtual std::shared_ptr< Handler > create_authentication_login(EndpointBasePtr db_service_endpoint)=0
Definition: rest_handler.h:135
static char * path
Definition: mysqldump.cc:150
Request::Uri Uri
Definition: request.cc:36
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
mrs::interface::EndpointBase EndpointBase
Definition: handler_factory.cc:61
Definition: authorize_manager.h:48
mrs::database::entry::UniversalId UniversalId
Definition: universal_id.h:33