mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
26 lines
511 B
C++
26 lines
511 B
C++
#pragma once
|
|
|
|
#include <Interpreters/Context.h>
|
|
#include <Server/HTTP/HTTPRequestHandlerFactory.h>
|
|
#include <Common/logger_useful.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class LibraryBridgeHandlerFactory : public HTTPRequestHandlerFactory, WithContext
|
|
{
|
|
public:
|
|
LibraryBridgeHandlerFactory(
|
|
const std::string & name_,
|
|
ContextPtr context_);
|
|
|
|
std::unique_ptr<HTTPRequestHandler> createRequestHandler(const HTTPServerRequest & request) override;
|
|
|
|
private:
|
|
LoggerPtr log;
|
|
const std::string name;
|
|
};
|
|
|
|
}
|