mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
19 lines
329 B
C++
19 lines
329 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Poco/Net/HTTPRequestHandler.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
/// Response with 404 and verbose description.
|
||
|
class NotFoundHandler : public Poco::Net::HTTPRequestHandler
|
||
|
{
|
||
|
public:
|
||
|
void handleRequest(
|
||
|
Poco::Net::HTTPServerRequest & request,
|
||
|
Poco::Net::HTTPServerResponse & response) override;
|
||
|
};
|
||
|
|
||
|
}
|