ESP8266
Public Member Functions | Private Attributes | List of all members
RequestHandler Class Reference
Inheritance diagram for RequestHandler:
FunctionRequestHandler StaticRequestHandler

Public Member Functions

virtual ~RequestHandler ()
 
virtual bool canHandle (HTTPMethod method, String uri)
 
virtual bool canUpload (String uri)
 
virtual bool handle (ESP8266WebServer &server, HTTPMethod requestMethod, String requestUri)
 
virtual void upload (ESP8266WebServer &server, String requestUri, HTTPUpload &upload)
 
RequestHandlernext ()
 
void next (RequestHandler *r)
 

Private Attributes

RequestHandler_next = nullptr
 

Constructor & Destructor Documentation

virtual RequestHandler::~RequestHandler ( )
virtual

Member Function Documentation

virtual bool RequestHandler::canHandle ( HTTPMethod  method,
String  uri 
)
virtual
virtual bool RequestHandler::canUpload ( String  uri)
virtual

Reimplemented in FunctionRequestHandler.

virtual bool RequestHandler::handle ( ESP8266WebServer server,
HTTPMethod  requestMethod,
String  requestUri 
)
virtual
RequestHandler* RequestHandler::next ( )
void RequestHandler::next ( RequestHandler r)
virtual void RequestHandler::upload ( ESP8266WebServer server,
String  requestUri,
HTTPUpload upload 
)
virtual

Reimplemented in FunctionRequestHandler.

Member Data Documentation

RequestHandler* RequestHandler::_next = nullptr
private