#include <mw/http/framework/cheadercodec.h>
class CHeaderWriter : public CBase |
Public Member Functions | |
---|---|
virtual | ~CHeaderWriter() |
pure virtual void | EncodeHeaderL(RHeaderField &) |
Protected Member Functions | |
---|---|
CHeaderWriter() | |
IMPORT_C void | ConstructL() |
An abstract HTTP header encoder. CHeaderWriter provides an interface used by its owning codec to do conversion of header data from the generic internal header representation to the raw representation used for a particular protocol/transport. Specific sub-classes of CHeaderWriter are associated with specific protocol handlers.
IMPORT_C | ~CHeaderWriter | ( | ) | [virtual] |
Intended Usage: Destructor - cleans up and release resources to the system.
IMPORT_C void | ConstructL | ( | ) | [protected] |
Second phase construction in which any necessary allocation is done Implementations of this interface may leave with standard errors like KErrNoMemory.
void | EncodeHeaderL | ( | RHeaderField & | aHeader | ) | [pure virtual] |
Intended Usage: Encodes the supplied header field. This method does a conversion of the field into raw form from the generic internal representation.
Implementations of this interface may leave with any of KErrNotSupported, KErrHttpEncodeDoWWWAuthenticate, KErrHttpEncodeAuthorization, KErrHttpEncodeDoAge, KErrHttpEncodeDoVary, KErrHttpEncodeDoContentLanguage.
Specific header writer sub-classes must implement this method.
Parameter | Description |
---|---|
aHeader | (in) A proxy for the header field to be encoded |