CHeaderWriter Class Reference
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.
Constructor & Destructor Documentation
CHeaderWriter()
IMPORT_C | CHeaderWriter | ( | ) | [protected] |
~CHeaderWriter()
IMPORT_C | ~CHeaderWriter | ( | ) | [virtual] |
Intended Usage: Destructor - cleans up and release resources to the system.
Member Functions Documentation
ConstructL()
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.
EncodeHeaderL(RHeaderField &)
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.
Parameters
RHeaderField & aHeader | (in) A proxy for the header field to be encoded |
Reserved1()
void | Reserved1 | ( | ) | [private, inline, virtual] |
Intended Usage: Reserve a slot in the v-table to preserve future BC
Reserved2()
void | Reserved2 | ( | ) | [private, inline, virtual] |
Intended Usage: Reserve a slot in the v-table to preserve future BC
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.