1#ifndef REQUESTHANDLER_H
2#define REQUESTHANDLER_H
3#include "../../Defines.h"
8 virtual bool canHandle(
HTTPMethod method, String uri) { (void) method; (void) uri;
return false; }
9 virtual bool canUpload(String uri) { (void) uri;
return false; }
10 virtual bool handle(
WebServer& server,
HTTPMethod requestMethod, String requestUri) { (void) server; (void) requestMethod; (void) requestUri;
return false; }
virtual ~RequestHandler()
void next(RequestHandler *r)
virtual void upload(WebServer &server, String requestUri, HTTPUpload &upload)
virtual bool canUpload(String uri)
virtual bool canHandle(HTTPMethod method, String uri)
virtual bool handle(WebServer &server, HTTPMethod requestMethod, String requestUri)