|
| QgsFcgiServerResponse (QgsServerRequest::Method method=QgsServerRequest::GetMethod) |
| Constructor for QgsFcgiServerResponse. More...
|
|
void | clear () override |
| Reset all headers and content for this response. More...
|
|
QByteArray | data () const override |
| Gets the data written so far. More...
|
|
void | finish () override |
| Finish the response, ending the transaction. More...
|
|
void | flush () override |
| Flushes the current output buffer to the network. More...
|
|
QString | header (const QString &key) const override |
| Returns the header value. More...
|
|
QMap< QString, QString > | headers () const override |
| Returns the header value. More...
|
|
bool | headersSent () const override |
| Returns true if the headers have already been sent. More...
|
|
QIODevice * | io () override |
| Returns the underlying QIODevice. More...
|
|
void | removeHeader (const QString &key) override |
| Clear header Undo a previous 'setHeader' call. More...
|
|
void | sendError (int code, const QString &message) override |
| Send error This method delegates error handling at the server level. More...
|
|
void | setDefaultHeaders () |
| Set the default headers. More...
|
|
void | setHeader (const QString &key, const QString &value) override |
| Set Header entry Add Header entry to the response Note that it is usually an error to set Header after data have been sent through the wire. More...
|
|
void | setStatusCode (int code) override |
| Set the http status code. More...
|
|
int | statusCode () const override |
| Returns the http status code. More...
|
|
void | truncate () override |
| Truncate data. More...
|
|
| QgsServerResponse ()=default |
| constructor More...
|
|
virtual | ~QgsServerResponse ()=default |
| destructor More...
|
|
virtual void | clear ()=0 |
| Reset all headers and content for this response. More...
|
|
virtual QByteArray | data () const =0 |
| Gets the data written so far. More...
|
|
virtual void | finish () SIP_THROW(QgsServerException) |
| Finish the response, ending the transaction. More...
|
|
virtual void | flush () SIP_THROW(QgsServerException) |
| Flushes the current output buffer to the network. More...
|
|
virtual QString | header (const QString &key) const =0 |
| Returns the header value. More...
|
|
virtual QMap< QString, QString > | headers () const =0 |
| Returns the header value. More...
|
|
virtual bool | headersSent () const =0 |
| Returns true if the headers have already been sent. More...
|
|
virtual QIODevice * | io ()=0 |
| Returns the underlying QIODevice. More...
|
|
virtual void | removeHeader (const QString &key)=0 |
| Clear header Undo a previous 'setHeader' call. More...
|
|
virtual void | sendError (int code, const QString &message)=0 |
| Send error This method delegates error handling at the server level. More...
|
|
virtual void | setHeader (const QString &key, const QString &value)=0 |
| Set Header entry Add Header entry to the response Note that it is usually an error to set Header after data have been sent through the wire. More...
|
|
virtual void | setStatusCode (int code)=0 |
| Set the http status code. More...
|
|
virtual int | statusCode () const =0 |
| Returns the http status code. More...
|
|
virtual void | truncate ()=0 |
| Truncate data. More...
|
|
virtual qint64 | write (const char *data) |
| Writes at most maxSize bytes of data. More...
|
|
virtual qint64 | write (const char *data, qint64 maxsize) |
| Writes at most maxSize bytes of data. More...
|
|
virtual qint64 | write (const QByteArray &byteArray) |
| Write chunk of data This is a convenient method that will write directly to the underlying I/O device. More...
|
|
virtual void | write (const QgsServerException &ex) |
| Write server exception. More...
|
|
virtual void | write (const QString &data) |
| Write string This is a convenient method that will write directly to the underlying I/O device. More...
|
|
virtual qint64 | write (std::string data) |
| Writes at most maxSize bytes of data. More...
|
|