HttpMessage Class Reference

#include <httpmessage.h>

Inheritance diagram for HttpMessage:
HttpRequest HttpResponse

List of all members.

Public Member Functions

 HttpMessage (HttpVersion httpVersion)
 ~HttpMessage ()
HttpVersion httpVersion () const
void setHttpVersion (const HttpVersion &version)
QByteArray header (const QByteArray &name) const
void setHeader (const QByteArray &name, const QByteArray &value)
QHash< QByteArray, QByteArray > headers () const
QHash< QByteArray, QByteArray >
headersBeginIterator () const
QHash< QByteArray, QByteArray >
headersEndIterator () const
qint64 entitySize () const
QByteArray entityBody () const
qint64 entityBody (QIODevice *device) const
void setEntityBody (const QByteArray &body)
bool setEntityBody (QIODevice *bodyDevice)

Detailed Description

Definition at line 33 of file httpmessage.h.

Constructor & Destructor Documentation

HttpMessage::HttpMessage ( HttpVersion  httpVersion  ) 

Definition at line 30 of file httpmessage.cpp.

HttpMessage::~HttpMessage (  ) 

Definition at line 36 of file httpmessage.cpp.

Member Function Documentation

qint64 HttpMessage::entityBody ( QIODevice *  device  )  const

Definition at line 59 of file httpmessage.cpp.

QByteArray HttpMessage::entityBody (  )  const [inline]

Definition at line 111 of file httpmessage.h.

qint64 HttpMessage::entitySize (  )  const [inline]

Definition at line 102 of file httpmessage.h.

QByteArray HttpMessage::header ( const QByteArray &  name  )  const [inline]

Definition at line 82 of file httpmessage.h.

QHash< QByteArray, QByteArray > HttpMessage::headers (  )  const [inline]

Definition at line 87 of file httpmessage.h.

QHash< QByteArray, QByteArray >::const_iterator HttpMessage::headersBeginIterator (  )  const [inline]

Definition at line 92 of file httpmessage.h.

QHash< QByteArray, QByteArray >::const_iterator HttpMessage::headersEndIterator (  )  const [inline]

Definition at line 97 of file httpmessage.h.

HttpVersion HttpMessage::httpVersion (  )  const [inline]

Definition at line 77 of file httpmessage.h.

bool HttpMessage::setEntityBody ( QIODevice *  bodyDevice  ) 

Definition at line 86 of file httpmessage.cpp.

void HttpMessage::setEntityBody ( const QByteArray &  body  ) 

Definition at line 77 of file httpmessage.cpp.

void HttpMessage::setHeader ( const QByteArray &  name,
const QByteArray &  value 

Definition at line 47 of file httpmessage.cpp.

void HttpMessage::setHttpVersion ( const HttpVersion version  ) 

Definition at line 42 of file httpmessage.cpp.

The documentation for this class was generated from the following files:
Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3