blob: e87c53b62bd9f4612c05c1cc077e59ea968255ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "mon_page.h"
namespace NMonitoring {
struct THtmlMonPage: public IMonPage {
THtmlMonPage(const TString& path,
const TString& title = TString(),
bool outputTableSorterJsCss = false)
: IMonPage(path, title)
, OutputTableSorterJsCss(outputTableSorterJsCss)
{
}
void Output(NMonitoring::IMonHttpRequest& request) override;
void NotFound(NMonitoring::IMonHttpRequest& request) const;
void NoContent(NMonitoring::IMonHttpRequest& request) const;
virtual void OutputContent(NMonitoring::IMonHttpRequest& request) = 0;
bool OutputTableSorterJsCss;
};
}
|