@@ -37,6 +37,7 @@ class QgsServerInterface;
37
37
* \ingroup server
38
38
* \class QgsServerCacheFilter
39
39
* \brief Class defining cache interface for QGIS Server plugins.
40
+ * \since QGIS 3.4
40
41
*/
41
42
class SERVER_EXPORT QgsServerCacheFilter
42
43
{
@@ -56,7 +57,7 @@ class SERVER_EXPORT QgsServerCacheFilter
56
57
* Returns cached document (or 0 if document not in cache) like capabilities
57
58
* \param project the project used to generate the document to provide path
58
59
* \param request the request used to generate the document to provider parameters or data
59
- * \param key the key provided by the access control to identify differents documents for the same request
60
+ * \param key the key provided by the access control to identify different documents for the same request
60
61
* \returns QByteArray of the cached document or an empty one if no corresponding document found
61
62
*/
62
63
virtual QByteArray getCachedDocument ( const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
@@ -66,7 +67,7 @@ class SERVER_EXPORT QgsServerCacheFilter
66
67
* \param doc the document to cache
67
68
* \param project the project used to generate the document to provide path
68
69
* \param request the request used to generate the document to provider parameters or data
69
- * \param key the key provided by the access control to identify differents documents for the same request
70
+ * \param key the key provided by the access control to identify different documents for the same request
70
71
* \returns true if the document has been cached
71
72
*/
72
73
virtual bool setCachedDocument ( const QDomDocument *doc, const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
@@ -75,7 +76,7 @@ class SERVER_EXPORT QgsServerCacheFilter
75
76
* Deletes the cached document
76
77
* \param project the project used to generate the document to provide path
77
78
* \param request the request used to generate the document to provider parameters or data
78
- * \param key the key provided by the access control to identify differents documents for the same request
79
+ * \param key the key provided by the access control to identify different documents for the same request
79
80
* \returns true if the document has been deleted
80
81
*/
81
82
virtual bool deleteCachedDocument ( const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
@@ -91,7 +92,7 @@ class SERVER_EXPORT QgsServerCacheFilter
91
92
* Returns cached image (or 0 if document not in cache) like tiles
92
93
* \param project the project used to generate the image to provide path
93
94
* \param request the request used to generate the image to provider parameters or data
94
- * \param key the key provided by the access control to identify differents images for the same request
95
+ * \param key the key provided by the access control to identify different images for the same request
95
96
* \returns QByteArray of the cached image or an empty one if no corresponding image found
96
97
*/
97
98
virtual QByteArray getCachedImage ( const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
@@ -101,7 +102,7 @@ class SERVER_EXPORT QgsServerCacheFilter
101
102
* \param img the document to cache
102
103
* \param project the project used to generate the image to provide path
103
104
* \param request the request used to generate the image to provider parameters or data
104
- * \param key the key provided by the access control to identify differents images for the same request
105
+ * \param key the key provided by the access control to identify different images for the same request
105
106
* \returns true if the image has been cached
106
107
*/
107
108
virtual bool setCachedImage ( const QByteArray *img, const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
@@ -110,7 +111,7 @@ class SERVER_EXPORT QgsServerCacheFilter
110
111
* Deletes the cached image
111
112
* \param project the project used to generate the image to provide path
112
113
* \param request the request used to generate the image to provider parameters or data
113
- * \param key the key provided by the access control to identify differents images for the same request
114
+ * \param key the key provided by the access control to identify different images for the same request
114
115
* \returns true if the image has been deleted
115
116
*/
116
117
virtual bool deleteCachedImage ( const QgsProject *project, const QgsServerRequest &request, const QString &key ) const ;
0 commit comments