RHTTPPropertySet Class Reference

class RHTTPPropertySet

A set of named THTTPHdrVal objects. Used for storing arbitrary collections of information.

Public Member Functions
RHTTPPropertySet()
IMPORT_C TBoolProperty(RStringF, THTTPHdrVal &)
IMPORT_C voidRemoveAllProperties()
IMPORT_C voidRemoveProperty(RStringF)
IMPORT_C TIntSetProperty(RStringF, THTTPHdrVal)
IMPORT_C voidSetPropertyL(RStringF, THTTPHdrVal)
Protected Attributes
CHeaderFieldPart *iImplementation

Constructor & Destructor Documentation

RHTTPPropertySet()

IMPORT_CRHTTPPropertySet()

Default (uninitialised) constructor. An object constructed in this way means 'use text-mode HTTP with default settings'

Member Functions Documentation

Property(RStringF, THTTPHdrVal &)

IMPORT_C TBoolProperty(RStringFaPropertyName,
THTTPHdrVal &aVal
)const

Returns a property. ETrue if the property exists

Parameters

RStringF aPropertyNameThe name of the property.
THTTPHdrVal & aValThe returned value of the property (if defined)

RemoveAllProperties()

IMPORT_C voidRemoveAllProperties()

Removes all properties

RemoveProperty(RStringF)

IMPORT_C voidRemoveProperty(RStringFaPropertyName)

Removes a named property.

Parameters

RStringF aPropertyNameThe name of the property

SetProperty(RStringF, THTTPHdrVal)

IMPORT_C TIntSetProperty(RStringFaPropertyName,
THTTPHdrValaValue
)

Parameters

RStringF aPropertyName
THTTPHdrVal aValue

SetPropertyL(RStringF, THTTPHdrVal)

IMPORT_C voidSetPropertyL(RStringFaPropertyName,
THTTPHdrValaValue
)

Sets or creates a property. leave

KErrNoMemory There was not enough memory.

Parameters

RStringF aPropertyNameThe name of the property
THTTPHdrVal aValueThe new value of the property

Member Data Documentation

CHeaderFieldPart * iImplementation

CHeaderFieldPart *iImplementation[protected]