QHttpHeader

#include <QtNetwork/QHttpHeader>

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


Overview

Protected Attributes Index

QScopedPointer< QHttpHeaderPrivate >d_ptr

Public Functions Index

QHttpHeader ()
QHttpHeader (const QHttpHeader &header)
QHttpHeader (const QString &str)
virtual ~QHttpHeader ()
voidaddValue (const QString &key, const QString &value)
QStringListallValues (const QString &key) const
uintcontentLength () const
QStringcontentType () const
boolhasContentLength () const
boolhasContentType () const
boolhasKey (const QString &key) const
boolisValid () const
QStringListkeys () const
intmajorVersion () const =0
intminorVersion () const =0
QHttpHeader &operator= (const QHttpHeader &h)
voidremoveAllValues (const QString &key)
voidremoveValue (const QString &key)
voidsetContentLength (int len)
voidsetContentType (const QString &type)
voidsetValue (const QString &key, const QString &value)
voidsetValues (const QList< QPair< QString, QString > > &values)
virtual QStringtoString () const
QStringvalue (const QString &key) const
QList< QPair< QString, QString > >values () const

Protected Functions Index

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

Protected Attributes

QScopedPointer< QHttpHeaderPrivate > d_ptr ()

Public Functions

QHttpHeader ()

QHttpHeader (

QHttpHeader (

virtual~QHttpHeader ()

Destructor.

void addValue (

QStringList allValues (

uint contentLength ()

QString contentType ()

bool hasContentLength ()

bool hasContentType ()

bool hasKey (

bool isValid ()

QStringList keys ()

int majorVersion ()

int minorVersion ()

QHttpHeader & operator= (

void removeAllValues (

void removeValue (

void setContentLength (
  • intlen)

void setContentType (

void setValue (

void setValues (

virtualQString toString ()

QString value (

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

Protected Functions

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

QHttpHeader (

bool parse (

virtual bool parseLine (

void setValid (
  • bool)

Last modified: 2015-07-24



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

comments powered by Disqus