Hobrasoft httpd server
Embedded HTTP server for Qt and C++
|
Processes HTTP request. More...
#include <requestmapper.h>
Public Member Functions | |
RequestMapper (HobrasoftHttpd::HttpConnection *parent) | |
Construktor. | |
void | service (HobrasoftHttpd::HttpRequest *request, HobrasoftHttpd::HttpResponse *response) |
Processes the request. More... | |
Public Member Functions inherited from HobrasoftHttpd::HttpRequestHandler | |
HttpRequestHandler (HttpConnection *parent) | |
Konstruktor. | |
HttpResponse * | response () |
Returns new instance of HttpResponse class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from HobrasoftHttpd::HttpRequestHandler | |
HttpConnection * | connection () const |
Returns pointer to parent HttpConnection class. | |
const HttpSettings * | settings () const |
Returns pointer to HttpSettings used in the HttpServer. | |
Processes HTTP request.
Special requests to inner data are processed by application. Such services has to be implemented in your own classes.
Other general requests (static files) are processed by default implementation in HobrasoftHttpd::HttpRequestHandler.
Definition at line 33 of file requestmapper.h.
|
virtual |
Processes the request.
Own specialized classes are created and called for dynamic content. General request handler is created for other static content requests.
Reimplemented from HobrasoftHttpd::HttpRequestHandler.
Definition at line 26 of file requestmapper.cpp.