19 #ifndef QGSSERVERREQUEST_H 20 #define QGSSERVERREQUEST_H 24 #include "qgis_server.h" 111 void setParameter(
const QString &key,
const QString &value );
116 QString parameter(
const QString &key,
const QString &defaultValue = QString() )
const;
121 void removeParameter(
const QString &key );
128 QString header(
const QString &name )
const;
135 void setHeader(
const QString &name,
const QString &value );
141 QMap<QString, QString> headers()
const;
147 void removeHeader(
const QString &name );
154 virtual QByteArray data()
const;
159 void setUrl(
const QUrl &url );
168 QUrl originalUrl()
const;
179 const QString queryParameter(
const QString &name,
const QString &defaultValue = QString( ) )
const;
189 void setOriginalUrl(
const QUrl &url );
197 Method mMethod = GetMethod;
200 mutable Headers mHeaders;
Method
HTTP Method (or equivalent) used for the request.
QMap< QString, QString > Headers
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
QMap< QString, QString > Parameters