mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
19 lines
527 B
C++
19 lines
527 B
C++
#ifndef __DR_JSON_REQUEST_HANDLER_FACTORY_H
|
|
#define __DR_JSON_REQUEST_HANDLER_FACTORY_H
|
|
|
|
#include "Poco/Net/HTTPRequestHandlerFactory.h"
|
|
#include "Poco/RegularExpression.h"
|
|
|
|
#define HTTP_PAGES_COUNT 1
|
|
|
|
class JsonRequestHandlerFactory : public Poco::Net::HTTPRequestHandlerFactory
|
|
{
|
|
public:
|
|
JsonRequestHandlerFactory();
|
|
Poco::Net::HTTPRequestHandler* createRequestHandler(const Poco::Net::HTTPServerRequest& request);
|
|
|
|
protected:
|
|
Poco::RegularExpression mRemoveGETParameters;
|
|
};
|
|
|
|
#endif // __DR_JSON_REQUEST_HANDLER_FACTORY_H
|