QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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  QgsDebugMsg( QStringLiteral( "QgsServerFilter plugin default requestReady called" ) );
39 }
40 
42 {
43  QgsDebugMsg( QStringLiteral( "QgsServerFilter plugin default responseComplete called" ) );
44 }
45 
47 {
48  QgsDebugMsg( QStringLiteral( "QgsServerFilter plugin default sendResponse called" ) );
49 }
50 
52 {
54  requestReady();
56  return true;
57 }
58 
60 {
64  return true;
65 }
66 
68 {
70  sendResponse();
72  return true;
73 }
74 
75 
QgsServerFilter::QgsServerFilter
QgsServerFilter(QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsServerFilter i...
Definition: qgsserverfilter.cpp:31
qgis.h
QgsDebugMsg
#define QgsDebugMsg(str)
Definition: qgslogger.h:38
Q_NOWARN_DEPRECATED_POP
#define Q_NOWARN_DEPRECATED_POP
Definition: qgis.h:2820
QgsServerFilter::sendResponse
virtual Q_DECL_DEPRECATED void sendResponse()
Method called when the QgsRequestHandler sends its data to FCGI stdout.
Definition: qgsserverfilter.cpp:46
QgsServerFilter::onRequestReady
virtual bool onRequestReady()
Method called when the QgsRequestHandler is ready and populated with parameters, just before entering...
Definition: qgsserverfilter.cpp:51
QgsServerFilter::onSendResponse
virtual bool onSendResponse()
Method called when the QgsRequestHandler sends its data to FCGI stdout.
Definition: qgsserverfilter.cpp:67
QgsServerFilter::requestReady
virtual Q_DECL_DEPRECATED void requestReady()
Method called when the QgsRequestHandler is ready and populated with parameters, just before entering...
Definition: qgsserverfilter.cpp:36
QgsServerFilter::onResponseComplete
virtual bool onResponseComplete()
Method called when the QgsRequestHandler processing has done and the response is ready,...
Definition: qgsserverfilter.cpp:59
QgsServerFilter::responseComplete
virtual Q_DECL_DEPRECATED void responseComplete()
Method called when the QgsRequestHandler processing has done and the response is ready,...
Definition: qgsserverfilter.cpp:41
qgslogger.h
qgsserverfilter.h
Q_NOWARN_DEPRECATED_PUSH
#define Q_NOWARN_DEPRECATED_PUSH
Definition: qgis.h:2819
QgsServerInterface
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Definition: qgsserverinterface.h:60