const QgsProject * project() const
Returns the (possibly NULL) project.
QgsServerResponse * response() const
Returns the server response object.
QString apiRootPath() const
Returns the API root path.
QgsServerInterface * serverInterface() const
Returns the server interface.
void setRequest(const QgsServerRequest *request)
Sets context request to request.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc.
const QString matchedPath() const
Returns the initial part of the incoming request URL path that matches the API root path...
QgsServerApiContext(const QString &apiRootPath, const QgsServerRequest *request, QgsServerResponse *response, const QgsProject *project, QgsServerInterface *serverInterface)
QgsServerApiContext constructor.
void setProject(const QgsProject *project)
Sets the project to project.
const QgsServerRequest * request() const
Returns the server request object.