ESP8266
|
Public Member Functions | |
StaticRequestHandler (FS &fs, const char *path, const char *uri, const char *cache_header) | |
bool | canHandle (HTTPMethod requestMethod, String requestUri) override |
bool | handle (ESP8266WebServer &server, HTTPMethod requestMethod, String requestUri) override |
Public Member Functions inherited from RequestHandler | |
virtual | ~RequestHandler () |
virtual bool | canUpload (String uri) |
virtual void | upload (ESP8266WebServer &server, String requestUri, HTTPUpload &upload) |
RequestHandler * | next () |
void | next (RequestHandler *r) |
Static Public Member Functions | |
static String | getContentType (const String &path) |
Protected Attributes | |
FS | _fs |
String | _uri |
String | _path |
String | _cache_header |
bool | _isFile |
size_t | _baseUriLength |
StaticRequestHandler::StaticRequestHandler | ( | FS & | fs, |
const char * | path, | ||
const char * | uri, | ||
const char * | cache_header | ||
) |
|
overridevirtual |
Reimplemented from RequestHandler.
|
static |
|
overridevirtual |
Reimplemented from RequestHandler.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |