|
| QgsRequestHandler (QgsServerRequest &request, QgsServerResponse &response) |
| Constructor. More...
|
|
void | appendBody (const QByteArray &body) |
| Sets the info format string such as "text/xml". More...
|
|
QByteArray | body () const |
| Returns the response body data. More...
|
|
void | clear () |
| Clears the response body and headers. More...
|
|
void | clearBody () |
| Clear response buffer. More...
|
|
QByteArray | data () const |
| Returns the request POST data (can be null) More...
|
|
bool | exceptionRaised () const |
| Pointer to last raised exception. More...
|
|
QString | format () const |
| Returns the requested format string. More...
|
|
bool | headersSent () const |
| Returns true if the HTTP headers were already sent to the client. More...
|
|
QString | parameter (const QString &key) const |
| Returns a request parameter. More...
|
|
QMap< QString, QString > | parameterMap () const |
| Returns the parsed parameters as a key-value pair, to modify a parameter setParameter( const QString &key, const QString &value) and removeParameter(const QString &key) must be used. More...
|
|
void | parseInput () |
| Parses the input and creates a request neutral Parameter/Value map. More...
|
|
QString | path () const |
| Returns the path component of the request URL. More...
|
|
void | removeParameter (const QString &key) |
| Remove a request parameter. More...
|
|
void | removeRequestHeader (const QString &name) |
| Remove an HTTP request header. More...
|
|
void | removeResponseHeader (const QString &name) |
| Remove an HTTP response header. More...
|
|
QString | requestHeader (const QString &name) const |
| Retrieve request header value. More...
|
|
QMap< QString, QString > | requestHeaders () const |
| Returns the the Request headers. More...
|
|
QString | responseHeader (const QString &name) const |
| Retrieve response header value. More...
|
|
QMap< QString, QString > | responseHeaders () const |
| Returns the response headers. More...
|
|
void | sendResponse () |
| Send out HTTP headers and flush output buffer. More...
|
|
void | setParameter (const QString &key, const QString &value) |
| Sets a request parameter. More...
|
|
void | setRequestHeader (const QString &name, const QString &value) |
| Sets an HTTP request header. More...
|
|
void | setResponseHeader (const QString &name, const QString &value) |
| Sets an HTTP response header. More...
|
|
void | setServiceException (const QgsServerException &ex) |
| Allow plugins to return a QgsMapServiceException. More...
|
|
void | setStatusCode (int code) |
| Sets response http status code. More...
|
|
int | statusCode () const |
| Returns the response http status code. More...
|
|
QString | url () const |
| Returns the request url. More...
|
|