8 #ifndef _StaticFileController_H_ 9 #define _StaticFileController_H_ 55 void addMimeType(
const QString& fileSuffix,
const QString& mimetype);
57 static QString toGMTString(
const QDateTime&);
66 #ifndef DOXYGEN_SHOULD_SKIP_THIS 67 static QHash<QString, QString> m_mimetypes;
HttpResponse * response()
Returns new instance of HttpResponse class.
StaticFileController(HttpConnection *parent)
Constructor set default parameters from configuration.
void addMimeType(const QString &fileSuffix, const QString &mimetype)
Adds mime type to static table of mime types (common for all class instances)
const HttpSettings * settings() const
Returs pointer to HttpSettings used in the HttpServer.
Response to HTTP request - headers, cookies and body.
void service(HttpRequest *request, HttpResponse *response)
Processes the request.
Configuration of the http server instance.
Processes incoming requests.
Processes HTTP request, parses headers, body and files sent by HTTP protocol.
Processes request for static files.
Namespace of HTTP server.
One single connection to http server.