Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
python/server/auto_generated/qgsserverstatichandler.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/server/qgsserverstatichandler.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
class QgsServerStaticHandler: QgsServerOgcApiHandler | ||
{ | ||
%Docstring | ||
The QgsServerStaticHandler class serves static files from the static path (resources/server/api/wfs3/static) | ||
|
||
.. seealso:: :py:func:`QgsServerOgcApiHandler.staticPath` | ||
|
||
.. versionadded:: 3.16 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsserverstatichandler.h" | ||
%End | ||
public: | ||
|
||
QgsServerStaticHandler( const QString &pathRegExp = QStringLiteral( R"re(/static/(?<staticFilePath>.*)$)re" ), const QString &staticPathSuffix = QString( ) ); | ||
%Docstring | ||
Creates QgsServerStaticHandler | ||
|
||
:param pathRegExp: optional regular expression to capture static file names, defaults to "/static/(?<staticFilePath>.*)$", | ||
note that the file path is captured in a named group "staticFilePath" | ||
:param staticPathSuffix: optional path suffix to use when static files are stored in a subdirectory of the default :py:func:`~QgsServerStaticHandler.staticPath` | ||
|
||
.. seealso:: :py:func:`QgsServerOgcApiHandler.staticPath` | ||
%End | ||
|
||
virtual void handleRequest( const QgsServerApiContext &context ) const; | ||
|
||
|
||
virtual QRegularExpression path() const; | ||
virtual std::string operationId() const; | ||
virtual std::string summary() const; | ||
virtual std::string description() const; | ||
virtual std::string linkTitle() const; | ||
virtual QgsServerOgcApi::Rel linkType() const; | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/server/qgsserverstatichandler.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters