|
||
class CHeaderReader : public CBase;
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CHeaderReader
- An abstract HTTP header decoder. CHeaderReader provides an interface used by its...
Defined in CHeaderReader
:
CHeaderReader()
Default constructor. ConstructL()
Second phase construction in which any necessary allocation is done Implementati...DecodeHeaderL(RHeaderField &)
Intended Usage: Decodes the supplied header field. This method does a conversion...Reserved1()
Intended Usage: Reserve a slot in the v-table to preserve future BC Reserved2()
Intended Usage: Reserve a slot in the v-table to preserve future BC ~CHeaderReader()
Intended Usage: Destructor - cleans up and release resources to the system. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C virtual ~CHeaderReader();
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 DecodeHeaderL(RHeaderField &aHeader)=0;
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.
|
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