QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
More...
#include <qgsserverinterface.h>
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Definition at line 36 of file qgsserverinterface.h.
◆ QgsServerInterface()
QgsServerInterface::QgsServerInterface |
( |
| ) |
|
◆ ~QgsServerInterface()
virtual QgsServerInterface::~QgsServerInterface |
( |
| ) |
|
|
pure virtual |
◆ accessControls()
virtual const QgsAccessControl* QgsServerInterface::accessControls |
( |
| ) |
const |
|
pure virtual |
Gets the registred access control filters.
◆ capabiblitiesCache()
◆ clearRequestHandler()
virtual void QgsServerInterface::clearRequestHandler |
( |
| ) |
|
|
pure virtual |
Clear the request handler.
- Note
- not available in python bindings
◆ configFilePath()
virtual QString QgsServerInterface::configFilePath |
( |
| ) |
|
|
pure virtual |
Return the configuration file path.
- Returns
- QString containing the configuration file path
◆ filters()
◆ getEnv()
virtual QString QgsServerInterface::getEnv |
( |
const QString & |
name | ) |
const |
|
pure virtual |
Return an enrironment variable, used to pass environment variables to python.
◆ registerAccessControl()
virtual void QgsServerInterface::registerAccessControl |
( |
QgsAccessControlFilter * |
accessControl, |
|
|
int |
priority = 0 |
|
) |
| |
|
pure virtual |
Register an access control filter.
- Parameters
-
accessControl | the access control to register |
priority | the priority used to order them |
◆ registerFilter()
virtual void QgsServerInterface::registerFilter |
( |
QgsServerFilter * |
filter, |
|
|
int |
priority = 0 |
|
) |
| |
|
pure virtual |
◆ removeConfigCacheEntry()
virtual void QgsServerInterface::removeConfigCacheEntry |
( |
const QString & |
path | ) |
|
|
pure virtual |
Remove entry from config cache.
- Parameters
-
path | the path of the file to remove |
◆ removeProjectLayers()
virtual void QgsServerInterface::removeProjectLayers |
( |
const QString & |
path | ) |
|
|
pure virtual |
Remove entries from layer cache.
- Parameters
-
path | the path of the project which own the layers to be removed |
◆ requestHandler()
◆ setConfigFilePath()
virtual void QgsServerInterface::setConfigFilePath |
( |
const QString & |
configFilePath | ) |
|
|
pure virtual |
Set the configuration file path.
- Parameters
-
configFilePath | QString with the configuration file path |
◆ setFilters()
Set the filters map.
- Parameters
-
filters | the QgsServerFiltersMap |
◆ setRequestHandler()
virtual void QgsServerInterface::setRequestHandler |
( |
QgsRequestHandler * |
requestHandler | ) |
|
|
pure virtual |
Set the request handler.
- Parameters
-
requestHandler | request handler |
- Note
- not available in Python bindings
The documentation for this class was generated from the following file: