24#include "qgis_server.h"
28#include <QRegularExpression>
93 virtual const QString
name()
const = 0;
104 virtual const QString
version()
const {
return QString(); }
114 virtual bool accept(
const QUrl &url )
const;
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Encapsulates the resources for a particular client request.
QgsServerApi(QgsServerInterface *serverIface)
Creates a QgsServerApi object.
QgsServerInterface * serverIface() const
Returns the server interface.
virtual const QString version() const
Returns the version of the service.
virtual const QString description() const =0
Returns the API description.
virtual const QString name() const =0
Returns the API name.
virtual bool accept(const QUrl &url) const
Returns true if the given url is handled by the API, default implementation checks for the presence o...
virtual void executeRequest(const QgsServerApiContext &context) const =0
Executes a request by passing the given context to the API handlers.
virtual const QString rootPath() const =0
Returns the root path for the API.
virtual ~QgsServerApi()=default
Defines interfaces exposed by QGIS Server and made available to plugins.
Defines the response interface passed to QgsService.