CIctsHttpHandler Class Reference
class CIctsHttpHandler : public CTimer |
Handles HTTP related things.
Sends HTTP GET using HTTP FW. Returns results to the caller.
ictsclientinterface.lib
Protected Member Functions |
---|
void | RunL() |
Constructor & Destructor Documentation
CIctsHttpHandler(CIctsEngine &, TInt)
Parameters
CIctsEngine & aOwner | Owner of this instance |
TInt aHttpResponseTime | Max time for response |
~CIctsHttpHandler()
~CIctsHttpHandler | ( | ) | [virtual] |
Member Functions Documentation
CheckHttp(TDesC8 &)
Check http prefix in URL/IP address
CheckStatusCodeL(RHTTPTransaction)
Checks if HTTP status code is a redirect (301,302,303,307)
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
MHFRunError(TInt, RHTTPTransaction, const THTTPEvent &)
Callback for HTTP FW to call when HTTP errors occur
MHFRunL(RHTTPTransaction, const THTTPEvent &)
Callback for HTTP FW to call when HTTP events occur
NewL(CIctsEngine &, TInt)
RunL()
void | RunL | ( | ) | [protected, virtual] |
From CActive Handles an active object's request completion event.
SendHttpGetL(TDesC8 &)
void | SendHttpGetL | ( | TDesC8 & | aIp | ) | [private] |
SendHttpRequestL(TDesC8 &, TUint32, TUint32)
SetHttpConnectionInfoL(RConnection &, RSocketServ &)
Member Data Documentation
TBool
iAttachDone
TBool
| iAttachDone | [private] |
Is attached to connection
RConnection
iConnection
Handle to connection Own.
TInt
iHttpResponseTime
TInt
| iHttpResponseTime | [private] |
Waiting time of HTTP response
RHTTPSession
iHttpSession
Handle to HTTP session Own.
RHTTPTransaction
iHttpTransaction
Handle to HTTP transaction Own.
CIctsEngine & iOwner
Reference of owner class Not Own.
RSocketServ
iSocketServ
Handle to socket server Own.
TBuf< KHttpResponseLength > iString
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.