Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: CHTTPResponse.h
Link against: httpresponse.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CHTTPResponse

class CHTTPResponse : public CBase;

Description

Derivation

Members

Defined in CHTTPResponse:
AddResponse(), CHTTPResponse(), CharSet(), CharSet(), ConstructL(), ContentType(), ContentType(), DetailedStatusCode(), Extend_CHTTPResponse(), Extend_CHTTPResponse_const(), ExtractCacheControlTime(), FindBinaryDescField(), FindCacheControlFieldValue(), FindField(), FindField(), FindRealm(), LocateField(), NewL(), Reset(), Response(), SetStatusCode(), StatusCode(), ~CHTTPResponse()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CHTTPResponse *NewL();

Description

Return value

CHTTPResponse *


~CHTTPResponse()

virtual IMPORT_C ~CHTTPResponse();

Description


CHTTPResponse()

protected: IMPORT_C CHTTPResponse();

Description


ConstructL()

protected: IMPORT_C void ConstructL();

Description

[Top]


Member functions


Reset()

IMPORT_C void Reset();

Description


AddResponse()

IMPORT_C void AddResponse(HBufC8 *aResponse);

Description

Parameters

HBufC8 *aResponse


Response()

IMPORT_C HBufC8 &Response() const;

Description

Return value

HBufC8 &


StatusCode()

IMPORT_C THttpStatusCode StatusCode() const;

Description

Return value

THttpStatusCode


DetailedStatusCode()

IMPORT_C THttpStatusCode DetailedStatusCode() const;

Description

Return value

THttpStatusCode


SetStatusCode()

IMPORT_C void SetStatusCode(TInt aCode);

Description

Parameters

TInt aCode


FindField()

IMPORT_C TBool FindField(THttpHeaderField aField, TPtrC8 &aDesc, TInt aStartIndex=0) const;

Description

Parameters

THttpHeaderField aField

TPtrC8 &aDesc

TInt aStartIndex

Return value

TBool


FindBinaryDescField()

IMPORT_C TBool FindBinaryDescField(THttpHeaderField aField, TPtrC8 &aDesc, TInt aStartIndex=0) const;

Description

Parameters

THttpHeaderField aField

TPtrC8 &aDesc

TInt aStartIndex

Return value

TBool


FindField()

IMPORT_C TBool FindField(THttpHeaderField aField, TTime &aTime, TInt aStartIndex=0) const;

Description

Parameters

THttpHeaderField aField

TTime &aTime

TInt aStartIndex

Return value

TBool


FindCacheControlFieldValue()

IMPORT_C TInt FindCacheControlFieldValue(TCacheControlFieldValue aField) const;

Description

Parameters

TCacheControlFieldValue aField

Return value

TInt


ExtractCacheControlTime()

IMPORT_C TBool ExtractCacheControlTime(TCacheControlFieldValue aField, TTime &aTime) const;

Description

Parameters

TCacheControlFieldValue aField

TTime &aTime

Return value

TBool


ContentType()

IMPORT_C void ContentType(TPtrC8 &aDesc) const;

Description

Parameters

TPtrC8 &aDesc


FindRealm()

IMPORT_C TBool FindRealm(TPtrC8 &aRealm) const;

Description

Parameters

TPtrC8 &aRealm

Return value

TBool


CharSet()

IMPORT_C TBool CharSet(TPtrC8 &aDesc) const;

Description

Parameters

TPtrC8 &aDesc

Return value

TBool


LocateField()

protected: IMPORT_C TInt LocateField(THttpHeaderField aField, TInt aStartIndex=0) const;

Description

Parameters

THttpHeaderField aField

TInt aStartIndex

Return value

TInt


ContentType()

protected: IMPORT_C const TText8 *ContentType(TInt aContentTypeCode) const;

Description

Parameters

TInt aContentTypeCode

Return value

const TText8 *


CharSet()

protected: IMPORT_C const TText8 *CharSet(TInt aCharsetCode) const;

Description

Parameters

TInt aCharsetCode

Return value

const TText8 *


Extend_CHTTPResponse()

private: virtual IMPORT_C TAny *Extend_CHTTPResponse(TAny *aArgs);

Description

Parameters

TAny *aArgs

Return value

TAny *


Extend_CHTTPResponse_const()

private: virtual IMPORT_C TAny *Extend_CHTTPResponse_const(TAny *aArgs) const;

Description

Parameters

TAny *aArgs

Return value

TAny *