19 #ifndef QGSSERVERREQUEST_H
20 #define QGSSERVERREQUEST_H
24 #include "qgis_server.h"
92 static QString methodToString( const
Method &method );
122 void setParameter( const QString &key, const QString &value );
127 QString parameter( const QString &key, const QString &defaultValue = QString() ) const;
132 void removeParameter( const QString &key );
139 QString header( const QString &name ) const;
146 void setHeader( const QString &name, const QString &value );
152 QMap<QString, QString> headers() const;
158 void removeHeader( const QString &name );
165 virtual QByteArray data() const;
170 void setUrl( const QUrl &url );
179 QUrl originalUrl() const;
190 const QString queryParameter( const QString &name, const QString &defaultValue = QString( ) ) const;
200 void setOriginalUrl( const QUrl &url );
208 Method mMethod = GetMethod;
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
Method
HTTP Method (or equivalent) used for the request.
QMap< QString, QString > Parameters
QMap< QString, QString > Headers