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

#include <tcontentheader.h>

Inheritance diagram for TContentHeader:
Inheritance graph
Collaboration diagram for TContentHeader:
Collaboration graph

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
QByteArrayList 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)
qint64 contentLength () const
void setContentLength (qint64 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
using RawHeaderPair = QPair< QByteArray, QByteArray >
using RawHeaderPairList = QList< RawHeaderPair >
- 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() [1/3]

TContentHeader::TContentHeader ( )


◆ TContentHeader() [2/3]

TContentHeader::TContentHeader ( const TContentHeader other)

Copy constructor.

◆ TContentHeader() [3/3]

TContentHeader::TContentHeader ( const QByteArray &  str)


◆ ~TContentHeader()

virtual TContentHeader::~TContentHeader ( )

Member Function Documentation

◆ operator=()

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: