mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
24 lines
744 B
C++
24 lines
744 B
C++
#ifndef __DR_PAGE_REQUEST_HANDLER_FACTORY_H
|
|
#define __DR_PAGE_REQUEST_HANDLER_FACTORY_H
|
|
|
|
#include "Poco/Net/HTTPRequestHandlerFactory.h"
|
|
#include "Poco/RegularExpression.h"
|
|
#include "Poco/Logger.h"
|
|
#include "../model/Session.h"
|
|
|
|
#define HTTP_PAGES_COUNT 1
|
|
|
|
class PageRequestHandlerFactory : public Poco::Net::HTTPRequestHandlerFactory
|
|
{
|
|
public:
|
|
PageRequestHandlerFactory();
|
|
Poco::Net::HTTPRequestHandler* createRequestHandler(const Poco::Net::HTTPServerRequest& request);
|
|
|
|
protected:
|
|
Poco::Net::HTTPRequestHandler* handleCheckEmail(Session* session, const std::string uri, const Poco::Net::HTTPServerRequest& request);
|
|
|
|
Poco::RegularExpression mRemoveGETParameters;
|
|
Poco::Logger& mLogging;
|
|
};
|
|
|
|
#endif // __DR_PAGE_REQUEST_HANDLER_FACTORY_H
|