QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsService Class Referenceabstract

QgsService Class defining interfaces for QGIS server services. More...

#include <qgsservice.h>

Inheritance diagram for QgsService:
Inheritance graph
[legend]

Public Member Functions

 QgsService ()
 Constructor.
 
virtual ~QgsService ()=default
 
virtual void executeRequest (const QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project)=0
 Execute the requests and set result in QgsServerRequest.
 
virtual QString name () const =0
 
virtual QString version () const =0
 

Detailed Description

QgsService Class defining interfaces for QGIS server services.

This class provides methods for executing server requests They are registered at runtime for a given service name.

Definition at line 38 of file qgsservice.h.

Constructor & Destructor Documentation

◆ QgsService()

QgsService::QgsService ( )
default

Constructor.

◆ ~QgsService()

virtual QgsService::~QgsService ( )
virtualdefault

Member Function Documentation

◆ executeRequest()

virtual void QgsService::executeRequest ( const QgsServerRequest request,
QgsServerResponse response,
const QgsProject project 
)
pure virtual

Execute the requests and set result in QgsServerRequest.

Implemented in QgsWcs::Service, QgsWfs::Service, and QgsWms::Service.

◆ name()

virtual QString QgsService::name ( ) const
pure virtual
Returns
the name of the service

Implemented in QgsWcs::Service, QgsWfs::Service, and QgsWms::Service.

◆ version()

virtual QString QgsService::version ( ) const
pure virtual
Returns
the version of the service

Implemented in QgsWcs::Service, QgsWfs::Service, and QgsWms::Service.


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