#include <qhttpservletrequest.h>
Inheritance diagram for QHttpServletRequest:
Public Methods | |
QHttpServletRequest () | |
virtual | ~QHttpServletRequest () |
QString | method () const |
QString | pathInfo () const |
QString | queryString () const |
QString | requestURI () const |
QString | version () const |
QStringList | headerNames () const |
QString | header (const QString &name) const |
QDateTime | dateHeader (const QString &name) const |
int | intHeader (const QString &name, bool *ok=0) const |
bool | readRequest (QTextStream *in) |
bool | readMethod (const QString &line) |
bool | hasHeaders () const |
bool | readHeader (const QString &line) |
bool | readHeaders (const QStringList &lines) |
void | dump (DocWriter *doc) |
QString | characterEncoding () const |
void | setCharacterEncoding (const QString &enc) |
long | contentLength () const |
void | setContentLength (long len) |
QString | contentType () const |
void | setContentType (const QString &mime) |
virtual QIODevice * | inputDevice () |
virtual QTextStream * | inputStream () |
QString | parameter (const QString &name) |
QStringList | parameterNames () |
QString | protocol () |
void | setProtocol (const QString &protocol) |
QString | remoteAddress () const |
void | setRemoteAddress (const QString &addr) |
QString | remoteHost () const |
void | setRemoteHost (const QString &host) |
QString | serverName () const |
void | setServerName (const QString &name) |
int | serverPort () const |
void | setServerPort (int port) |
Protected Methods | |
void | addHeader (const QString &name, const QString &val) |
Definition at line 20 of file qhttpservletrequest.h.
|
Returns the value of the named header as a QDateTime. If the header did not form a value timestamp, you may find this method returns a null QDateTime. |
|
Returns the int value of the named header or 0 if it could not be parsed. The ok parameter will be true if the value was parsed ok, false otherwise. |