QwuiFileResourceProvider Class Reference
A resource provider that provides file resources. When provide() is called, the resource provider looks for a file that corresponds to the path given in the header relatively to the rootDirectory().
More...
#include <qwuifileresourceprovider.h>
List of all members.
Detailed Description
A resource provider that provides file resources. When provide() is called, the resource provider looks for a file that corresponds to the path given in the header relatively to the rootDirectory().
Constructor & Destructor Documentation
QwuiFileResourceProvider::QwuiFileResourceProvider |
( |
const QString & |
sessionId = QString::null |
) |
|
QwuiFileResourceProvider::~QwuiFileResourceProvider |
( |
|
) |
[virtual] |
Member Function Documentation
QwuiAbstractResource * QwuiFileResourceProvider::provide |
( |
const QHttpRequestHeader & |
header, |
|
|
const QString & |
postContent | |
|
) |
| | [virtual] |
QString QwuiFileResourceProvider::rootDirectory |
( |
|
) |
const |
- Returns:
- path of the file resources root directory.
void QwuiFileResourceProvider::setRootDirectory |
( |
const QString & |
path |
) |
|
- Parameters:
-
| path | path of the file resources root directory. |
Member Data Documentation
The documentation for this class was generated from the following files: