#include <mw/http/framework/cheadercodec.h>
class CHeaderReader : public CBase |
Public Member Functions | |
---|---|
virtual | ~CHeaderReader() |
pure virtual void | DecodeHeaderL(RHeaderField &) |
Protected Member Functions | |
---|---|
CHeaderReader() | |
IMPORT_C void | ConstructL() |
An abstract HTTP header decoder. CHeaderReader provides an interface used by its owning codec to do conversion of header data from the raw representation used for a particular protocol/transport to the generic internal header representation. Specific sub-classes of CHeaderWriter are associated with specific protocol handlers.
IMPORT_C | ~CHeaderReader | ( | ) | [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 | DecodeHeaderL | ( | RHeaderField & | aHeader | ) | [pure virtual] |
Intended Usage: Decodes the supplied header field. This method does a conversion of the field from the generic internal representation into raw form.
Specific header reader sub-classes must implement this method.
Implementations of this interface may leave with any of KErrHttpDecodeAccept, KErrHttpDecodeAcceptCharset, KErrHttpDecodeAcceptLanguage, KErrHttpDecodeAcceptEncoding, KErrNotSupported.
Parameter | Description |
---|---|
aHeader | (in) A proxy for the header field to be decoded |