| class RHTTPPropertySet |
A set of named THTTPHdrVal objects. Used for storing arbitrary collections of information.
| Public Member Functions | |
|---|---|
| RHTTPPropertySet() | |
| IMPORT_C TBool | Property(RStringF, THTTPHdrVal &) |
| IMPORT_C void | RemoveAllProperties() |
| IMPORT_C void | RemoveProperty(RStringF) |
| IMPORT_C TInt | SetProperty(RStringF, THTTPHdrVal) |
| IMPORT_C void | SetPropertyL(RStringF, THTTPHdrVal) |
| Protected Attributes | |
|---|---|
| CHeaderFieldPart * | iImplementation |
| IMPORT_C | RHTTPPropertySet | ( | ) |
Default (uninitialised) constructor. An object constructed in this way means 'use text-mode HTTP with default settings'
| IMPORT_C TBool | Property | ( | RStringF | aPropertyName, |
| THTTPHdrVal & | aVal | |||
| ) | const | |||
Returns a property. ETrue if the property exists
| RStringF aPropertyName | The name of the property. |
| THTTPHdrVal & aVal | The returned value of the property (if defined) |
| IMPORT_C void | RemoveProperty | ( | RStringF | aPropertyName | ) |
Removes a named property.
| RStringF aPropertyName | The name of the property |
| IMPORT_C TInt | SetProperty | ( | RStringF | aPropertyName, |
| THTTPHdrVal | aValue | |||
| ) | ||||
| RStringF aPropertyName | |
| THTTPHdrVal aValue |
| IMPORT_C void | SetPropertyL | ( | RStringF | aPropertyName, |
| THTTPHdrVal | aValue | |||
| ) | ||||
Sets or creates a property. leave
KErrNoMemory There was not enough memory.
| RStringF aPropertyName | The name of the property |
| THTTPHdrVal aValue | The new value of the property |