CMessage Class Reference

class CMessage : public CBase

Abstract base class for implementation of HTTP requests and responses

Inherits from

Constructor & Destructor Documentation

~CMessage()

~CMessage ( ) [pure virtual]

Destructor. (NB Although this method has an implementation - this class must be abstract)

Member Functions Documentation

AddBody(MHTTPDataSupplier *)

void AddBody ( MHTTPDataSupplier * aBody ) [inline]

Specify the body data supplier for this HTTP message. RHTTPMessage::AddBody

Parameters

MHTTPDataSupplier * aBody

Body()

MHTTPDataSupplier * Body ( ) const [inline]

Obtain this HTTP message's body data supplier. RHTTPMessage::GetBody

ConstructL(CTransaction *)

void ConstructL ( CTransaction * aTransaction ) [protected, inline]

Does base class 2 phase construction

Parameters

CTransaction * aTransaction

HasBody()

TBool HasBody ( ) const [inline]

Determine whether this HTTP message has a body or not. RHTTPMessage::HasBody

Headers()

RHTTPHeaders Headers ( ) const [inline]

Obtain the message headers.

Member Data Documentation

MHTTPDataSupplier * iDataSupplier

MHTTPDataSupplier * iDataSupplier [private]

The body

CHeaders * iHeaders

CHeaders * iHeaders [private]

The header fields

CTransaction * iTransaction

CTransaction * iTransaction [private]

The associated transaction