QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
qgsserverfilter.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsseerverfilter.cpp
3 Server I/O filters class for QGIS Server for use by plugins
4 -------------------
5 begin : 2014-09-10
6 copyright : (C) 2014 by Alessandro Pasotti
7 email : a dot pasotti at itopen dot it
8 ***************************************************************************/
9
10/***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19
20#include "qgsserverfilter.h"
21#include "qgslogger.h"
22#include "qgis.h"
23
32 mServerInterface( serverInterface )
33{
34}
35
37{
38 QgsDebugMsgLevel( QStringLiteral( "QgsServerFilter plugin default requestReady called" ), 2 );
39}
40
42{
43 QgsDebugMsgLevel( QStringLiteral( "QgsServerFilter plugin default responseComplete called" ), 2 );
44}
45
47{
48 QgsDebugMsgLevel( QStringLiteral( "QgsServerFilter plugin default sendResponse called" ), 2 );
49}
50
52{
56 return true;
57}
58
60{
61 return true;
62}
63
65{
69 return true;
70}
71
73{
77 return true;
78}
QgsServerFilter(QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsServerFilter i...
virtual bool onSendResponse()
Method called when the QgsRequestHandler sends its data to FCGI stdout.
virtual Q_DECL_DEPRECATED void responseComplete()
Method called when the QgsRequestHandler processing has done and the response is ready,...
virtual Q_DECL_DEPRECATED void requestReady()
Method called when the QgsRequestHandler is ready and populated with parameters, just before entering...
virtual bool onRequestReady()
Method called when the QgsRequestHandler is ready and populated with parameters, just before entering...
virtual bool onResponseComplete()
Method called when the QgsRequestHandler processing has done and the response is ready,...
virtual Q_DECL_DEPRECATED void sendResponse()
Method called when the QgsRequestHandler sends its data to FCGI stdout.
virtual bool onProjectReady()
Method called when the QgsProject instance is ready to be used to perform the request,...
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
#define Q_NOWARN_DEPRECATED_POP
Definition: qgis.h:5776
#define Q_NOWARN_DEPRECATED_PUSH
Definition: qgis.h:5775
#define QgsDebugMsgLevel(str, level)
Definition: qgslogger.h:39