Location:
cheadercodec.h
Link against: http.lib
class CHeaderWriter : public CBase;
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.
CBase
- Base class for all classes to be instantiated on the heap
CHeaderWriter
- An abstract HTTP header encoder
Defined in CHeaderWriter
:
CHeaderWriter()
, ConstructL()
, EncodeHeaderL()
, Reserved1()
, Reserved2()
, ~CHeaderWriter()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
virtual IMPORT_C ~CHeaderWriter();
Intended Usage: Destructor - cleans up and release resources to the system.
protected: IMPORT_C void ConstructL();
Second phase construction in which any necessary allocation is done Implementations of this interface may leave with standard errors like KErrNoMemory.
virtual void EncodeHeaderL(RHeaderField &aHeader)=0;
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.
|
private: inline virtual void Reserved1();
Intended Usage: Reserve a slot in the v-table to preserve future BC
private: inline virtual void Reserved2();
Intended Usage: Reserve a slot in the v-table to preserve future BC