RHTTPPropertySet Class Reference

#include <mw/http/rhttppropertyset.h>

class RHTTPPropertySet

Detailed Description

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

Member Attribute Documentation

iImplementation

CHeaderFieldPart *iImplementation[protected]

Constructor & Destructor Documentation

RHTTPPropertySet ( )

IMPORT_CRHTTPPropertySet()

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

Member Function Documentation

Property ( RStringF, THTTPHdrVal & )

IMPORT_C TBoolProperty(RStringFaPropertyName,
THTTPHdrVal &aVal
)const

Returns a property.

ParameterDescription
aPropertyNameThe name of the property.
aValThe returned value of the property (if defined)

Returns: ETrue if the property exists

RemoveAllProperties ( )

IMPORT_C voidRemoveAllProperties()

Removes all properties

RemoveProperty ( RStringF )

IMPORT_C voidRemoveProperty(RStringFaPropertyName)

Removes a named property.

ParameterDescription
aPropertyNameThe name of the property

SetProperty ( RStringF, THTTPHdrVal )

IMPORT_C TIntSetProperty(RStringFaPropertyName,
THTTPHdrValaValue
)

SetPropertyL ( RStringF, THTTPHdrVal )

IMPORT_C voidSetPropertyL(RStringFaPropertyName,
THTTPHdrValaValue
)
Sets or creates a property.
leave
KErrNoMemory There was not enough memory.
ParameterDescription
aPropertyNameThe name of the property
aValueThe new value of the property