CUpnpHttpHeader Class Reference

class CUpnpHttpHeader : public CBase

This is HTTPMessage header name-value pair. HTTPMessage contains a list of these header rows.

Inherits from

Constructor & Destructor Documentation

CUpnpHttpHeader()

CUpnpHttpHeader ( ) [private]

First phase constructor.

~CUpnpHttpHeader()

~CUpnpHttpHeader ( ) [virtual]

Destructor function.

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &)

void ConstructL ( const TDesC8 & aName,
const TDesC8 & aValue
) [private]

Second phase constructor.

Parameters

const TDesC8 & aName
const TDesC8 & aValue

Name()

IMPORT_C TDesC8 & Name ( )

Returns name of HTTPHeader.

NewL(const TDesC8 &, const TDesC8 &)

CUpnpHttpHeader * NewL ( const TDesC8 & aName,
const TDesC8 & aValue
) [static]

Constructor function of HTTPHeader object.

Parameters

const TDesC8 & aName This is the name part of HTTP Header.
const TDesC8 & aValue This is the value part of HTTP Header.

SetNameL(const TDesC8 &)

IMPORT_C void SetNameL ( const TDesC8 & aName )

Set name of HTTPHeader.

Parameters

const TDesC8 & aName New name for HTTPHeader.

SetValueL(const TDesC8 &)

IMPORT_C void SetValueL ( const TDesC8 & aValue )

Set value of HTTPHeader.

Parameters

const TDesC8 & aValue New value for HTTPHeader.

Value()

IMPORT_C TDesC8 & Value ( )

Returns value of HTTPHeader.

Member Data Documentation

HBufC8 * iName

HBufC8 * iName [private]

Name of header.

HBufC8 * iValue

HBufC8 * iValue [private]

Value of header.