Skip to content
Permalink
Browse files

[Server] Various code cleaning for server cache manager and WMTS service

  • Loading branch information
rldhont committed Aug 10, 2018
1 parent f6d0fc0 commit 6895926e7b89fc4f38908b863944191930187694
@@ -72,6 +72,7 @@ class QgsServerInterfaceImpl : public QgsServerInterface
/**
* Gets the helper over all the registered server cache filters
* \returns the server cache helper
* \since QGIS 3.4
*/
QgsServerCacheManager *cacheManager() const override { return mCacheManager.get(); }

@@ -31,7 +31,7 @@ namespace QgsWmts
* \ingroup server
* \class QgsWmts::Service
* \brief OGC web service specialized for WMTS
* \since QGIS 3.0
* \since QGIS 3.4
*/
class Service: public QgsService
{
@@ -68,7 +68,7 @@ namespace QgsWmts
}

// Get the request
QString req = params.value( QStringLiteral( "REQUEST" ) );
QString req = params.value( QgsServerParameter::name( QgsServerParameter::REQUEST ) );
if ( req.isEmpty() )
{
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),
@@ -1,5 +1,5 @@
/***************************************************************************
qgswmsgetmap.cpp
qgswmtsgettile.cpp
-------------------------
begin : July 23 , 2017
copyright : (C) 2018 by René-Luc D'Hont
@@ -1,5 +1,5 @@
/***************************************************************************
qgswmsgettile.h
qgswmtsgettile.h
-------------------------
begin : July 23 , 2017
copyright : (C) 2018 by René-Luc D'Hont
@@ -1,7 +1,7 @@
/***************************************************************************
qgswmtsserviceexception.h
------------------------
begin : July 23, 2017
begin : July 23, 2018
copyright : (C) 2018 by René-Luc D'Hont
email : rldhont at 3liz dot com
***************************************************************************/
@@ -28,8 +28,8 @@ namespace QgsWmts
/**
* \ingroup server
* \class QgsWmts::QgsServiceException
* \brief Exception class for WFS services
* \since QGIS 3.0
* \brief Exception class for WMTS services
* \since QGIS 3.4
*/
class QgsServiceException : public QgsOgcServiceException
{
@@ -27,6 +27,7 @@
/**
* \ingroup server
* WMTS implementation
* \since QGIS 3.4
*/

//! WMTS implementation

0 comments on commit 6895926

Please sign in to comment.
You can’t perform that action at this time.