TreeFrogFramework  1.18
Public Member Functions | List of all members
TContentHeader Class Reference

#include <tcontentheader.h>

Inheritance diagram for TContentHeader:
Inheritance graph
[legend]
Collaboration diagram for TContentHeader:
Collaboration graph
[legend]

Public Member Functions

 TContentHeader ()
 
 TContentHeader (const TContentHeader &other)
 
 TContentHeader (const QByteArray &str)
 
virtual ~TContentHeader ()
 
TContentHeaderoperator= (const TContentHeader &other)
 
- Public Member Functions inherited from TInternetMessageHeader
 TInternetMessageHeader ()
 
 TInternetMessageHeader (const TInternetMessageHeader &other)
 
 TInternetMessageHeader (const QByteArray &str)
 
virtual ~TInternetMessageHeader ()
 
bool hasRawHeader (const QByteArray &key) const
 
QByteArray rawHeader (const QByteArray &key) const
 
QList< QByteArray > rawHeaderList () const
 
void setRawHeader (const QByteArray &key, const QByteArray &value)
 
void addRawHeader (const QByteArray &key, const QByteArray &value)
 
void removeAllRawHeaders (const QByteArray &key)
 
void removeRawHeader (const QByteArray &key)
 
bool isEmpty () const
 
void clear ()
 
QByteArray contentType () const
 
void setContentType (const QByteArray &type)
 
uint contentLength () const
 
void setContentLength (int len)
 
QByteArray date () const
 
void setDate (const QByteArray &date)
 
void setDate (const QDateTime &dateTime)
 
void setCurrentDate ()
 
virtual QByteArray toByteArray () const
 
TInternetMessageHeaderoperator= (const TInternetMessageHeader &other)
 

Additional Inherited Members

- Protected Types inherited from TInternetMessageHeader
typedef QPair< QByteArray, QByteArray > RawHeaderPair
 
typedef QList< RawHeaderPairRawHeaderPairList
 
- Protected Member Functions inherited from TInternetMessageHeader
void parse (const QByteArray &header)
 
- Protected Attributes inherited from TInternetMessageHeader
RawHeaderPairList headerPairList
 

Detailed Description

The TContentHeader class contains content header information for HTTP.

Constructor & Destructor Documentation

TContentHeader::TContentHeader ( )

Constructor.

TContentHeader::TContentHeader ( const TContentHeader other)

Copy constructor.

TContentHeader::TContentHeader ( const QByteArray &  str)

Constructor.

virtual TContentHeader::~TContentHeader ( )
inlinevirtual

Member Function Documentation

TContentHeader & TContentHeader::operator= ( const TContentHeader other)

Assigns other to this content header and returns a reference to this content header.


The documentation for this class was generated from the following files: