#include <RequestHandlersImpl.h>
|
| | StaticRequestHandler (FS &fs, const char *path, const char *uri, const char *cache_header) |
| |
| bool | canHandle (HTTPMethod requestMethod, String requestUri) override |
| |
| bool | handle (WebServer &server, HTTPMethod requestMethod, String requestUri) override |
| |
Public Member Functions inherited from RequestHandler |
| 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) |
| |
| RequestHandler * | next () |
| |
| void | next (RequestHandler *r) |
| |
Definition at line 57 of file RequestHandlersImpl.h.
◆ StaticRequestHandler()
| StaticRequestHandler::StaticRequestHandler |
( |
FS & |
fs, |
|
|
const char * |
path, |
|
|
const char * |
uri, |
|
|
const char * |
cache_header |
|
) |
| |
|
inline |
◆ canHandle()
| bool StaticRequestHandler::canHandle |
( |
HTTPMethod |
requestMethod, |
|
|
String |
requestUri |
|
) |
| |
|
inlineoverridevirtual |
◆ getContentType()
| static String StaticRequestHandler::getContentType |
( |
const String & |
path | ) |
|
|
inlinestatic |
◆ handle()
| bool StaticRequestHandler::handle |
( |
WebServer & |
server, |
|
|
HTTPMethod |
requestMethod, |
|
|
String |
requestUri |
|
) |
| |
|
inlineoverridevirtual |
◆ _baseUriLength
| size_t StaticRequestHandler::_baseUriLength |
|
protected |
◆ _cache_header
| String StaticRequestHandler::_cache_header |
|
protected |
◆ _fs
| FS StaticRequestHandler::_fs |
|
protected |
◆ _isFile
| bool StaticRequestHandler::_isFile |
|
protected |
◆ _path
| String StaticRequestHandler::_path |
|
protected |
◆ _uri
| String StaticRequestHandler::_uri |
|
protected |
The documentation for this class was generated from the following file: