QHttpEngine
0.1.0
Simple and secure HTTP server for Qt applications
|
23 #ifndef QHTTPENGINE_QFILESYSTEMHANDLER_H
24 #define QHTTPENGINE_QFILESYSTEMHANDLER_H
26 #include "qhttpengine.h"
27 #include "qhttphandler.h"
29 class QHTTPENGINE_EXPORT QFilesystemHandlerPrivate;
81 QFilesystemHandlerPrivate *
const d;
82 friend class QFilesystemHandlerPrivate;
85 #endif // QHTTPENGINE_QFILESYSTEMHANDLER_H
Base class for HTTP handlers.
Definition: qhttphandler.h:72
QFilesystemHandler(const QString &documentRoot, QObject *parent=0)
Create a new filesystem handler from the specified directory.
Implementation of the HTTP protocol.
Definition: qhttpsocket.h:89
virtual void process(QHttpSocket *socket, const QString &path)
Reimplementation of QHttpHandler::process()
void setDocumentRoot(const QString &documentRoot)
Set the document root.
Handler for filesystem requests.
Definition: qfilesystemhandler.h:49
QFilesystemHandler(QObject *parent=0)
Create a new filesystem handler.