CHeaders Class Reference
class CHeaders : public CBase |
The CHeaders class provides the internal implementation of the RHTTPHeaders interface, which is documented in <http.h>. Briefly, this interface provides a unified point at which all header data can be read and written for a given request or response. The CHeaders object is related to an instance of a specific CHTTPTransactionCodec subclass, which is used to provide on-demand decoding and encoding of indivual header fields. RHTTPHeaders
Nested Classes and Structures
Public Member Functions |
---|
| ~CHeaders() |
CHeaderCodec & | Codec() |
IMPORT_C TInt | ConvertAllHeadersToParsedFormat() |
TInt
| FieldPartsL(RStringF) |
THTTPHdrFieldIter
| Fields() |
TInt
| GetField(RStringF, TInt, THTTPHdrVal &) |
void | GetFieldL(RStringF, TInt, THTTPHdrVal &) |
THTTPHdrVal
| GetParam(RStringF, RStringF, THTTPHdrVal &, TInt) |
TInt
| GetRawField(RStringF, TPtrC8 &) |
void | GetRawFieldL(RStringF, TPtrC8 &) |
RHTTPHeaders
| Handle() |
IMPORT_C CHeaderField * | LookupField(RStringF) |
CHeaders * | NewL(CHeaderCodec &) |
void | RemoveAllFields() |
TInt
| RemoveField(RStringF) |
TInt
| RemoveFieldPartL(RStringF, TInt) |
TInt
| SetField(RStringF, THTTPHdrVal) |
void | SetFieldL(RStringF, THTTPHdrVal) |
void | SetFieldL(RStringF, THTTPHdrVal, RStringF, THTTPHdrVal) |
void | SetParamL(RStringF, RStringF, THTTPHdrVal, TInt) |
void | SetRawFieldL(RStringF, const TDesC8 &, const TDesC8 &) |
Constructor & Destructor Documentation
Member Functions Documentation
ConvertAllHeadersToParsedFormat()
IMPORT_C TInt | ConvertAllHeadersToParsedFormat | ( | ) | |
CreateOrLookupField(RStringF)
CreateOrLookupFieldL(RStringF)
DoInsertInNameOrder(CHeaderField *, RStringF)
DoInsertInNameOrderL(CHeaderField *, RStringF)
GetField(RStringF, TInt, THTTPHdrVal &)
GetFieldL(RStringF, TInt, THTTPHdrVal &)
GetFieldParameter(RStringF, RStringF, TInt)
GetFieldPart(RStringF, TInt, CHeaderFieldPart *&)
GetFieldPartL(RStringF, TInt)
GetParam(RStringF, RStringF, THTTPHdrVal &, TInt)
GetRawField(RStringF, TPtrC8 &)
GetRawFieldL(RStringF, TPtrC8 &)
IsPredefinedHeader(RStringF)
LocateFieldName(RStringF)
PurgeFields()
void | PurgeFields | ( | ) | [private] |
RemoveFieldPartL(RStringF, TInt)
SetField(RStringF, THTTPHdrVal)
SetFieldL(RStringF, THTTPHdrVal)
SetFieldL(RStringF, THTTPHdrVal, RStringF, THTTPHdrVal)
SetParamL(RStringF, RStringF, THTTPHdrVal, TInt)
SetRawFieldL(RStringF, const TDesC8 &, const TDesC8 &)
Member Data Documentation
RArray< THeaderFieldNamePair > iFields
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.