2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-09-21 11:44:58 +02:00
|
|
|
|
|
|
|
#ifndef STATUSHANDLER_H
|
|
|
|
#define STATUSHANDLER_H
|
|
|
|
|
|
|
|
#include "remote/httphandler.hpp"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2018-01-04 06:11:04 +01:00
|
|
|
class StatusHandler final : public HttpHandler
|
2015-09-21 11:44:58 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_PTR_TYPEDEFS(StatusHandler);
|
|
|
|
|
2018-01-04 05:12:56 +01:00
|
|
|
bool HandleRequest(const ApiUser::Ptr& user, HttpRequest& request,
|
2017-12-19 15:50:05 +01:00
|
|
|
HttpResponse& response, const Dictionary::Ptr& params) override;
|
2015-09-21 11:44:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* STATUSHANDLER_H */
|