Skip to content

Commit 6895926

Browse files
committed
[Server] Various code cleaning for server cache manager and WMTS service
1 parent f6d0fc0 commit 6895926

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

src/server/qgsserverinterfaceimpl.h

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class QgsServerInterfaceImpl : public QgsServerInterface
7272
/**
7373
* Gets the helper over all the registered server cache filters
7474
* \returns the server cache helper
75+
* \since QGIS 3.4
7576
*/
7677
QgsServerCacheManager *cacheManager() const override { return mCacheManager.get(); }
7778

src/server/services/wmts/qgswmts.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace QgsWmts
3131
* \ingroup server
3232
* \class QgsWmts::Service
3333
* \brief OGC web service specialized for WMTS
34-
* \since QGIS 3.0
34+
* \since QGIS 3.4
3535
*/
3636
class Service: public QgsService
3737
{
@@ -68,7 +68,7 @@ namespace QgsWmts
6868
}
6969

7070
// Get the request
71-
QString req = params.value( QStringLiteral( "REQUEST" ) );
71+
QString req = params.value( QgsServerParameter::name( QgsServerParameter::REQUEST ) );
7272
if ( req.isEmpty() )
7373
{
7474
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),

src/server/services/wmts/qgswmtsgettile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***************************************************************************
2-
qgswmsgetmap.cpp
2+
qgswmtsgettile.cpp
33
-------------------------
44
begin : July 23 , 2017
55
copyright : (C) 2018 by René-Luc D'Hont

src/server/services/wmts/qgswmtsgettile.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***************************************************************************
2-
qgswmsgettile.h
2+
qgswmtsgettile.h
33
-------------------------
44
begin : July 23 , 2017
55
copyright : (C) 2018 by René-Luc D'Hont

src/server/services/wmts/qgswmtsserviceexception.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***************************************************************************
22
qgswmtsserviceexception.h
33
------------------------
4-
begin : July 23, 2017
4+
begin : July 23, 2018
55
copyright : (C) 2018 by René-Luc D'Hont
66
email : rldhont at 3liz dot com
77
***************************************************************************/
@@ -28,8 +28,8 @@ namespace QgsWmts
2828
/**
2929
* \ingroup server
3030
* \class QgsWmts::QgsServiceException
31-
* \brief Exception class for WFS services
32-
* \since QGIS 3.0
31+
* \brief Exception class for WMTS services
32+
* \since QGIS 3.4
3333
*/
3434
class QgsServiceException : public QgsOgcServiceException
3535
{

src/server/services/wmts/qgswmtsutils.h

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/**
2828
* \ingroup server
2929
* WMTS implementation
30+
* \since QGIS 3.4
3031
*/
3132

3233
//! WMTS implementation

0 commit comments

Comments
 (0)