QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
server
qgsbufferserverrequest.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsbufferserverrequest.h
3
4
Define response wrapper for storing request in buffer
5
-------------------
6
begin : 2017-01-03
7
copyright : (C) 2017 by David Marteau
8
email : david dot marteau at 3liz dot com
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
***************************************************************************/
19
#ifndef QGSBUFFERSERVERREQUEST_H
20
#define QGSBUFFERSERVERREQUEST_H
21
22
#include "qgis_server.h"
23
#include "
qgsserverrequest.h
"
24
31
class
SERVER_EXPORT
QgsBufferServerRequest
:
public
QgsServerRequest
32
{
33
public
:
34
43
QgsBufferServerRequest
(
const
QString &url,
QgsServerRequest::Method
method =
QgsServerRequest::GetMethod
,
const
QgsServerRequest::Headers
&headers =
QgsServerRequest::Headers
(), QByteArray *data =
nullptr
);
44
53
QgsBufferServerRequest
(
const
QUrl &url,
QgsServerRequest::Method
method =
QgsServerRequest::GetMethod
,
const
QgsServerRequest::Headers
&headers =
QgsServerRequest::Headers
(), QByteArray *data =
nullptr
);
54
55
QByteArray
data
()
const override
{
return
mData; }
56
57
private
:
58
QByteArray mData;
59
};
60
61
#endif
QgsServerRequest::GetMethod
@ GetMethod
Definition:
qgsserverrequest.h:54
QgsServerRequest
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
Definition:
qgsserverrequest.h:39
QgsBufferServerRequest
Class defining request with data.
Definition:
qgsbufferserverrequest.h:32
QgsBufferServerRequest::data
QByteArray data() const override
Returns post/put data Check for QByteArray::isNull() to check if data is available.
Definition:
qgsbufferserverrequest.h:55
qgsserverrequest.h
QgsServerRequest::Method
Method
HTTP Method (or equivalent) used for the request.
Definition:
qgsserverrequest.h:51
QgsServerRequest::Headers
QMap< QString, QString > Headers
Definition:
qgsserverrequest.h:45
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20