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