QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
21 #ifndef QGSSERVERINTERFACE_H
22 #define QGSSERVERINTERFACE_H
24 #include "qgsconfig.h"
30 #ifdef HAVE_SERVER_PYTHON_PLUGINS
42 #include "qgis_server.h"
139 virtual QString
getEnv(
const QString &name )
const = 0;
178 QString mConfigFilePath;
181 #endif // QGSSERVERINTERFACE_H
Class defining cache interface for QGIS Server plugins.
virtual ~QgsServerInterface()=default
A cache for capabilities xml documents (by configuration file path)
virtual void registerServerCache(QgsServerCacheFilter *serverCache, int priority=0)=0
Register a server cache filter.
virtual QString getEnv(const QString &name) const =0
Returns an enrironment variable, used to pass environment variables to Python.
virtual void setConfigFilePath(const QString &configFilePath)=0
Set the configuration file path.
virtual QgsAccessControl * accessControls() const =0
Gets the registered access control filters.
#define SIP_KEEPREFERENCE
virtual void registerFilter(QgsServerFilter *filter, int priority=0)=0
Register a QgsServerFilter.
virtual void clearRequestHandler()=0
Clear the request handler.
virtual QgsRequestHandler * requestHandler()=0
Gets pointer to the request handler.
Provides a way to retrieve settings by prioritizing according to environment variables,...
virtual QString configFilePath()=0
Returns the configuration file path.
virtual void registerAccessControl(QgsAccessControlFilter *accessControl, int priority=0)=0
Register an access control filter.
Class defining I/O filters for QGIS Server and implemented in plugins.
A helper class that centralizes caches accesses given by all the server cache filter plugins.
Class defining access control interface for QGIS Server plugins.
virtual QgsServerSettings * serverSettings()=0
Returns the server settings.
virtual void setFilters(QgsServerFiltersMap *filters)=0
Set the filters map.
virtual QgsServerFiltersMap filters()=0
Returns the list of current QgsServerFilter.
A helper class that centralizes restrictions given by all the access control filter plugins.
virtual void removeConfigCacheEntry(const QString &path)=0
Remove entry from config cache.
#define SIP_IF_MODULE(condition)
virtual QgsServerCacheManager * cacheManager() const =0
Gets the registered server cache filters.
QgsServiceRegistry Class defining the registry manager for QGIS server services.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
This class is an interface hiding the details of reading input and writing output from/to a wms reque...
virtual QgsServiceRegistry * serviceRegistry()=0
Returns the service registry.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
virtual QgsCapabilitiesCache * capabilitiesCache()=0
Gets pointer to the capabiblities cache.
virtual void setRequestHandler(QgsRequestHandler *requestHandler)=0
Set the request handler.