ESP_IOT v2.5
IOT ESP Coding
RequestHandler Class Reference

#include <RequestHandler.h>

Inheritance diagram for RequestHandler:
Inheritance graph
Collaboration diagram for RequestHandler:
Collaboration graph

Public Member Functions

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

Detailed Description

Definition at line 5 of file RequestHandler.h.

Constructor & Destructor Documentation

◆ ~RequestHandler()

virtual RequestHandler::~RequestHandler ( )
inlinevirtual

Definition at line 7 of file RequestHandler.h.

Member Function Documentation

◆ canHandle()

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

Reimplemented in FunctionRequestHandler, and StaticRequestHandler.

Definition at line 8 of file RequestHandler.h.

Here is the caller graph for this function:

◆ canUpload()

virtual bool RequestHandler::canUpload ( String  uri)
inlinevirtual

Reimplemented in FunctionRequestHandler.

Definition at line 9 of file RequestHandler.h.

Here is the caller graph for this function:

◆ handle()

virtual bool RequestHandler::handle ( WebServer server,
HTTPMethod  requestMethod,
String  requestUri 
)
inlinevirtual

Reimplemented in FunctionRequestHandler, and StaticRequestHandler.

Definition at line 10 of file RequestHandler.h.

Here is the caller graph for this function:

◆ next() [1/2]

RequestHandler * RequestHandler::next ( )
inline

Definition at line 13 of file RequestHandler.h.

Here is the caller graph for this function:

◆ next() [2/2]

void RequestHandler::next ( RequestHandler r)
inline

Definition at line 14 of file RequestHandler.h.

◆ upload()

virtual void RequestHandler::upload ( WebServer server,
String  requestUri,
HTTPUpload upload 
)
inlinevirtual

Reimplemented in FunctionRequestHandler.

Definition at line 11 of file RequestHandler.h.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: