Class: QgsCapabilitiesCache¶
A cache for capabilities xml documents (by configuration file path)
Class Hierarchy¶
Base classes¶
Methods
Inserts new capabilities document (creates a copy of the document, does not take ownership) |
|
Removes capabilities document |
|
Returns cached capabilities document (or 0 if document for configuration file not in cache) |
- class qgis.server.QgsCapabilitiesCache[source]¶
Bases:
QObject
- insertCapabilitiesDocument(self, configFilePath: str | None, key: str | None, doc: QDomDocument | None)[source]¶
Inserts new capabilities document (creates a copy of the document, does not take ownership)
- Parameters:
configFilePath (Optional[str]) – the project file path
key (Optional[str]) – key used to separate different version in different cache
doc (Optional[QDomDocument]) – the DOM document
- removeCapabilitiesDocument(self, path: str | None)[source]¶
Removes capabilities document
- Parameters:
path (Optional[str]) – the project file path
- searchCapabilitiesDocument(self, configFilePath: str | None, key: str | None) QDomDocument | None [source]¶
Returns cached capabilities document (or 0 if document for configuration file not in cache)
- Parameters:
configFilePath (Optional[str]) – the progect file path
key (Optional[str]) – key used to separate different version in different cache
- Return type:
Optional[QDomDocument]