mirror of
https://github.com/Icinga/icinga2.git
synced 2025-08-20 17:18:18 +02:00
These parameters are no longer needed since they were only used by EventsHandler which was refactored in an earlier commit.
32 lines
693 B
C++
32 lines
693 B
C++
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#ifndef CONFIGSTAGESHANDLER_H
|
|
#define CONFIGSTAGESHANDLER_H
|
|
|
|
#include "remote/httphandler.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class ConfigStagesHandler final : public HttpHandler
|
|
{
|
|
public:
|
|
DECLARE_PTR_TYPEDEFS(ConfigStagesHandler);
|
|
|
|
bool HandleRequest(
|
|
const WaitGroup::Ptr& waitGroup,
|
|
const HttpRequest& request,
|
|
HttpResponse& response,
|
|
boost::asio::yield_context& yc
|
|
) override;
|
|
|
|
private:
|
|
void HandleGet(const HttpRequest& request, HttpResponse& response);
|
|
void HandlePost(const HttpRequest& request, HttpResponse& response);
|
|
void HandleDelete(const HttpRequest& request, HttpResponse& response);
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* CONFIGSTAGESHANDLER_H */
|