2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2016-06-16 08:38:01 +02:00
|
|
|
|
|
|
|
#ifndef VARIABLEQUERYHANDLER_H
|
|
|
|
#define VARIABLEQUERYHANDLER_H
|
|
|
|
|
|
|
|
#include "remote/httphandler.hpp"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2018-01-04 06:11:04 +01:00
|
|
|
class VariableQueryHandler final : public HttpHandler
|
2016-06-16 08:38:01 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_PTR_TYPEDEFS(VariableQueryHandler);
|
|
|
|
|
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;
|
2016-06-16 08:38:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* VARIABLEQUERYHANDLER_H */
|