const QString matchedPath() const
Returns the initial part of the incoming request URL path that matches the API root path.
void setRequest(const QgsServerRequest *request)
Sets context request to request.
QString apiRootPath() const
Returns the API root path.
QgsServerApiContext(const QString &apiRootPath, const QgsServerRequest *request, QgsServerResponse *response, const QgsProject *project, QgsServerInterface *serverInterface)
QgsServerApiContext constructor.
const QgsProject * project() const
Returns the (possibly NULL) project.
QgsServerResponse * response() const
Returns the server response object.
QgsServerInterface * serverInterface() const
Returns the server interface.
void setProject(const QgsProject *project)
Sets the project to project.
const QgsServerRequest * request() const
Returns the server request object.