21 #ifndef QGSSERVERINTERFACE_H 22 #define QGSSERVERINTERFACE_H 24 #include "qgsconfig.h" 30 #ifdef HAVE_SERVER_PYTHON_PLUGINS 42 #include "qgis_server.h" 68 virtual ~QgsServerInterface() =
default;
82 virtual void clearRequestHandler() = 0
SIP_SKIP;
120 virtual void registerAccessControl(
QgsAccessControlFilter *accessControl SIP_TRANSFER,
int priority = 0 ) = 0;
131 virtual void registerServerCache(
QgsServerCacheFilter *serverCache SIP_TRANSFER,
int priority = 0 ) = 0;
140 virtual QString getEnv(
const QString &name )
const = 0;
146 virtual QString configFilePath() = 0;
152 virtual void setConfigFilePath(
const QString &configFilePath ) = 0;
158 virtual void removeConfigCacheEntry(
const QString &path ) = 0;
176 QgsServerInterface();
179 QString mConfigFilePath;
182 #endif // QGSSERVERINTERFACE_H
Provides a way to retrieve settings by prioritizing according to environment variables, ini file and default values.
#define SIP_IF_MODULE(condition)
Class defining I/O filters for QGIS Server and implemented in plugins.
Class defining access control interface for QGIS Server plugins.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
A helper class that centralizes caches accesses given by all the server cache filter plugins...
#define SIP_KEEPREFERENCE
This class is an interface hiding the details of reading input and writing output from/to a wms reque...
Class defining cache interface for QGIS Server plugins.
A cache for capabilities xml documents (by configuration file path)
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServiceRegistry Class defining the registry manager for QGIS server services.
A helper class that centralizes restrictions given by all the access control filter plugins...