2017-06-26 09:57:09 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/server/qgsserver.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-29 10:19:51 +02:00
|
|
|
class QgsServer
|
|
|
|
{
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
|
|
|
The QgsServer class provides OGC web services.
|
|
|
|
%End
|
|
|
|
|
2015-05-29 10:19:51 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsserver.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-06-26 09:57:09 +02:00
|
|
|
|
2017-01-04 01:13:14 +01:00
|
|
|
QgsServer();
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
|
|
|
Creates the server instance
|
|
|
|
%End
|
2016-01-07 10:48:58 +01:00
|
|
|
|
|
|
|
void putenv( const QString &var, const QString &val );
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
|
|
|
Set environment variable
|
|
|
|
\param var environment variable name
|
|
|
|
\param val value
|
|
|
|
.. versionadded:: 2.14
|
|
|
|
%End
|
2016-01-07 10:48:58 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
void handleRequest( QgsServerRequest &request, QgsServerResponse &response );
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
|
|
|
Handles the request.
|
|
|
|
The query string is normally read from environment
|
|
|
|
but can be also passed in args and in this case overrides the environment
|
|
|
|
variable
|
2017-01-04 01:13:14 +01:00
|
|
|
|
2017-06-26 09:57:09 +02:00
|
|
|
\param request a QgsServerRequest holding request parameters
|
|
|
|
\param response a QgsServerResponse for handling response I/O)
|
|
|
|
%End
|
2016-02-14 03:50:23 +01:00
|
|
|
|
2017-06-26 09:57:09 +02:00
|
|
|
|
|
|
|
QgsServerInterface *serverInterface();
|
|
|
|
%Docstring
|
|
|
|
Returns a pointer to the server interface
|
|
|
|
:rtype: QgsServerInterfaceImpl
|
|
|
|
%End
|
|
|
|
|
|
|
|
void initPython( );
|
|
|
|
%Docstring
|
|
|
|
Note: not in Python bindings
|
|
|
|
%End
|
2015-05-29 10:19:51 +02:00
|
|
|
|
|
|
|
private:
|
2017-06-26 09:57:09 +02:00
|
|
|
QgsServer( const QgsServer & );
|
|
|
|
QgsServer &operator=( const QgsServer & );
|
|
|
|
%Docstring
|
|
|
|
:rtype: QgsServer
|
|
|
|
%End
|
2015-05-29 10:19:51 +02:00
|
|
|
};
|
2017-01-05 17:40:57 +01:00
|
|
|
|
2017-06-26 09:57:09 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/server/qgsserver.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|