#include <QtNetwork/QHttpResponseHeader>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QHttpResponseHeader




Protected Attributes Index

Only has inherited protected attributes

QScopedPointer< QHttpHeaderPrivate >d_ptrInherited

Public Functions Index

QHttpResponseHeader ()
QHttpResponseHeader (const QHttpResponseHeader &header)
QHttpResponseHeader (const QString &str)
QHttpResponseHeader (int code, const QString &text=QString(), int majorVer=1, int minorVer=1)
virtual intmajorVersion () const
virtual intminorVersion () const
QHttpResponseHeader &operator= (const QHttpResponseHeader &header)
QStringreasonPhrase () const
voidsetStatusLine (int code, const QString &text=QString(), int majorVer=1, int minorVer=1)
intstatusCode () const
virtual QStringtoString () const
voidaddValue (const QString &key, const QString &value)Inherited
QStringListallValues (const QString &key) const Inherited
uintcontentLength () const Inherited
QStringcontentType () const Inherited
boolhasContentLength () const Inherited
boolhasContentType () const Inherited
boolhasKey (const QString &key) const Inherited
boolisValid () const Inherited
QStringListkeys () const Inherited
QHttpHeader &operator= (const QHttpHeader &h)Inherited
QHttpHeader ()Inherited
QHttpHeader (const QHttpHeader &header)Inherited
QHttpHeader (const QString &str)Inherited
voidremoveAllValues (const QString &key)Inherited
voidremoveValue (const QString &key)Inherited
voidsetContentLength (int len)Inherited
voidsetContentType (const QString &type)Inherited
voidsetValue (const QString &key, const QString &value)Inherited
voidsetValues (const QList< QPair< QString, QString > > &values)Inherited
QStringvalue (const QString &key) const Inherited
QList< QPair< QString, QString > >values () const Inherited

Protected Functions Index

virtual boolparseLine (const QString &line, int number)
boolparse (const QString &str)Inherited
QHttpHeader (QHttpHeaderPrivate &dd, const QString &str=QString())Inherited
QHttpHeader (QHttpHeaderPrivate &dd, const QHttpHeader &header)Inherited
voidsetValid (bool)Inherited

Protected Attributes

(Only has inherited protected attributes)

QScopedPointer< QHttpHeaderPrivate > d_ptr ()Inherited

Public Functions

QHttpResponseHeader ()

QHttpResponseHeader (

QHttpResponseHeader (

QHttpResponseHeader (
  • intcode,
  • const QString &text,
  • intmajorVer,
  • intminorVer )

virtual int majorVersion ()

virtual int minorVersion ()

QHttpResponseHeader & operator= (

QString reasonPhrase ()

void setStatusLine (
  • intcode,
  • const QString &text,
  • intmajorVer,
  • intminorVer )

int statusCode ()

virtualQString toString ()

void addValue (Inherited

QStringList allValues (Inherited

uint contentLength ()Inherited

QString contentType ()Inherited

bool hasContentLength ()Inherited

bool hasContentType ()Inherited

bool hasKey (Inherited

bool isValid ()Inherited

QStringList keys ()Inherited

QHttpHeader & operator= (Inherited

QHttpHeader ()Inherited

QHttpHeader (Inherited

QHttpHeader (Inherited

void removeAllValues (Inherited

void removeValue (Inherited

void setContentLength (
  • intlen)

void setContentType (Inherited

void setValue (Inherited

void setValues (Inherited

QString value (Inherited

QList< QPair< QString, QString > > values ()Inherited

Protected Functions

virtual bool parseLine (

bool parse (Inherited

QHttpHeader (
  • QHttpHeaderPrivate &dd,
  • const QString &str )

QHttpHeader (Inherited

void setValid (
  • bool)

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus