21 #ifndef QGSSERVERINTERFACE_H 22 #define QGSSERVERINTERFACE_H 24 #include "qgsconfig.h" 30 #ifdef HAVE_SERVER_PYTHON_PLUGINS 42 #include "qgis_server.h" 67 virtual ~QgsServerInterface() =
default;
81 virtual void clearRequestHandler() = 0
SIP_SKIP;
119 virtual void registerAccessControl(
QgsAccessControlFilter *accessControl SIP_TRANSFER,
int priority = 0 ) = 0;
130 virtual void registerServerCache(
QgsServerCacheFilter *serverCache SIP_TRANSFER,
int priority = 0 ) = 0;
139 virtual QString getEnv(
const QString &name )
const = 0;
145 virtual QString configFilePath() = 0;
151 virtual void setConfigFilePath(
const QString &configFilePath ) = 0;
157 virtual void removeConfigCacheEntry(
const QString &path ) = 0;
175 QgsServerInterface();
178 QString mConfigFilePath;
181 #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...