RHTTPPropertySet Class Reference

#include <mw/http/rhttppropertyset.h>

class RHTTPPropertySet
Protected Attributes
CHeaderFieldPart *iImplementation
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)

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.

Parameters
aPropertyNameThe name of the property.
aValThe returned value of the property (if defined)
Return Value
ETrue if the property exists

RemoveAllProperties ( )

IMPORT_C voidRemoveAllProperties()

Removes all properties

RemoveProperty ( RStringF )

IMPORT_C voidRemoveProperty(RStringFaPropertyName)

Removes a named property.

Parameters
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.
Parameters
aPropertyNameThe name of the property
aValueThe new value of the property
Leave Codes
KErrNoMemoryThere was not enough memory.