19 #ifndef QGSSERVERINTERFACEIMPL_H 20 #define QGSSERVERINTERFACEIMPL_H 80 QString
getEnv(
const QString &name )
const override;
92 QString mConfigFilePath;
102 #endif // QGSSERVERINTERFACEIMPL_H virtual QString getEnv(const QString &name) const =0
Returns an enrironment variable, used to pass environment variables to Python.
virtual void setRequestHandler(QgsRequestHandler *requestHandler)=0
Set the request handler.
virtual QgsServerSettings * serverSettings()=0
Returns the server settings.
QString configFilePath() override
Returns the configuration file path.
QgsCapabilitiesCache * capabilitiesCache() override
Gets pointer to the capabiblities cache.
virtual void registerFilter(QgsServerFilter *filter, int priority=0)=0
Register a QgsServerFilter.
virtual void clearRequestHandler()=0
Clear the request handler.
virtual void registerServerCache(QgsServerCacheFilter *serverCache, int priority=0)=0
Register a server cache filter.
Provides a way to retrieve settings by prioritizing according to environment variables, ini file and default values.
Class defining I/O filters for QGIS Server and implemented in plugins.
Class defining access control interface for QGIS Server plugins.
Interfaces exposed by QGIS Server and made available to plugins.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
virtual QgsServiceRegistry * serviceRegistry()=0
Returns the service registry.
virtual void setFilters(QgsServerFiltersMap *filters)=0
Set the filters map.
A helper class that centralizes caches accesses given by all the server cache filter plugins...
QgsServerFiltersMap filters() override
Returns the list of current QgsServerFilter.
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.
virtual void removeConfigCacheEntry(const QString &path)=0
Remove entry from config cache.
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.
QgsAccessControl * accessControls() const override
Gets the helper over all the registered access control filters.
virtual void setConfigFilePath(const QString &configFilePath)=0
Set the configuration file path.
virtual QgsServerCacheManager * cacheManager() const =0
Gets the registered server cache filters.
A helper class that centralizes restrictions given by all the access control filter plugins...
virtual void registerAccessControl(QgsAccessControlFilter *accessControl, int priority=0)=0
Register an access control filter.
QgsRequestHandler * requestHandler() override
Returns the QgsRequestHandler, to be used only in server plugins.