QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Member Functions | List of all members
QgsWms::Service Class Reference

OGC web service specialized for WMS. More...

Inheritance diagram for QgsWms::Service:
Inheritance graph
[legend]

Public Member Functions

 Service (const QString &version, QgsServerInterface *serverIface)
 Constructor for WMS service. More...
 
bool allowMethod (QgsServerRequest::Method method) const override
 Returns true if the given method is supported for that service. More...
 
void executeRequest (const QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project) override
 Execute the requests and set result in QgsServerRequest. More...
 
QString name () const override
 
QString version () const override
 
- Public Member Functions inherited from QgsService
 QgsService ()
 Constructor. More...
 
virtual ~QgsService ()=default
 Destructor. More...
 

Detailed Description

OGC web service specialized for WMS.

Since
QGIS 3.0

Definition at line 48 of file qgswms.cpp.

Constructor & Destructor Documentation

◆ Service()

QgsWms::Service::Service ( const QString &  version,
QgsServerInterface serverIface 
)
inline

Constructor for WMS service.

Parameters
versionVersion of the WMS service.
serverIfaceInterface for plugins.

Definition at line 57 of file qgswms.cpp.

Member Function Documentation

◆ allowMethod()

bool QgsWms::Service::allowMethod ( QgsServerRequest::Method  ) const
inlineoverridevirtual

Returns true if the given method is supported for that service.

Implements QgsService.

Definition at line 65 of file qgswms.cpp.

◆ executeRequest()

void QgsWms::Service::executeRequest ( const QgsServerRequest request,
QgsServerResponse response,
const QgsProject project 
)
inlineoverridevirtual

Execute the requests and set result in QgsServerRequest.

Implements QgsService.

Definition at line 70 of file qgswms.cpp.

◆ name()

QString QgsWms::Service::name ( ) const
inlineoverridevirtual
Returns
the name of the service

Implements QgsService.

Definition at line 62 of file qgswms.cpp.

◆ version()

QString QgsWms::Service::version ( ) const
inlineoverridevirtual
Returns
the version of the service

Implements QgsService.

Definition at line 63 of file qgswms.cpp.


The documentation for this class was generated from the following file: