22 #include <QDomDocument> 26 Q_UNUSED( serverInterface )
virtual bool deleteCachedDocument(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Deletes the cached document.
virtual bool deleteCachedImages(const QgsProject *project) const
Deletes all cached images for a QGIS project.
virtual bool deleteCachedDocuments(const QgsProject *project) const
Deletes all cached documents for a QGIS project.
virtual bool setCachedDocument(const QDomDocument *doc, const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Updates or inserts the document in cache like capabilities.
Reads and writes project states.
virtual bool deleteCachedImage(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Deletes the cached image.
virtual bool setCachedImage(const QByteArray *img, const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Updates or inserts the image in cache like tiles.
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QgsServerCacheFilter(const QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsServerCacheFil...
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
virtual QByteArray getCachedImage(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Returns cached image (or 0 if document not in cache) like tiles.
virtual QByteArray getCachedDocument(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Returns cached document (or 0 if document not in cache) like capabilities.