93 void setClientAcceptHeadersL(const TDesC& headers); |
93 void setClientAcceptHeadersL(const TDesC& headers); |
94 bool httpPipelining() {return m_httpPipelining;} |
94 bool httpPipelining() {return m_httpPipelining;} |
95 void UpdateCacheL( const WebCore::String& url, const WebCore::String &equiv, const WebCore::String &content ); |
95 void UpdateCacheL( const WebCore::String& url, const WebCore::String &equiv, const WebCore::String &content ); |
96 void ResetOutstandingSelfDl() {m_OutstandingSelfDl = false; } |
96 void ResetOutstandingSelfDl() {m_OutstandingSelfDl = false; } |
97 const RPointerArray<HBufC8>& ClientAcceptHeaders() const { return m_ClientAcceptHeaders; } |
97 const RPointerArray<HBufC8>& ClientAcceptHeaders() const { return m_ClientAcceptHeaders; } |
98 |
98 void retryTransactions(); |
|
99 void setRetryConnectivityFlag(){ retryConnectivityFlag = ETrue; } |
|
100 TBool getRetryConnectivityFlag(){ return retryConnectivityFlag; } |
|
101 void unSetRetryConnectivityFlag(){ retryConnectivityFlag = EFalse; } |
|
102 TUint pendingTransactionsCount(){ return m_pendingHttpRequests.size(); } |
|
103 |
99 private: |
104 private: |
100 void updateFilters(bool initializing = false); |
105 void updateFilters(bool initializing = false); |
101 int count(); |
106 int count(); |
102 HttpDlConnection* CreateHttpDlConnection(); |
107 HttpDlConnection* CreateHttpDlConnection(); |
103 void downloadL(WebCore::ResourceHandle* handle, const WebCore::ResourceRequest& request, const WebCore::ResourceResponse& response, HttpConnection* connection); |
108 void downloadL(WebCore::ResourceHandle* handle, const WebCore::ResourceRequest& request, const WebCore::ResourceResponse& response, HttpConnection* connection); |
126 HttpDownload* m_httpDownload; |
131 HttpDownload* m_httpDownload; |
127 SelfDownloadContentHandler* m_SelfDownloadContentHandler; |
132 SelfDownloadContentHandler* m_SelfDownloadContentHandler; |
128 HBufC* m_SelfDownloadContentTypes; |
133 HBufC* m_SelfDownloadContentTypes; |
129 bool m_OutstandingSelfDl; |
134 bool m_OutstandingSelfDl; |
130 RPointerArray<HBufC8> m_ClientAcceptHeaders; |
135 RPointerArray<HBufC8> m_ClientAcceptHeaders; |
|
136 TBool retryConnectivityFlag; |
|
137 |
131 }; |
138 }; |
132 #endif // __HTTPSESSIONMANAGER_H__ |
139 #endif // __HTTPSESSIONMANAGER_H__ |
133 // end of file |
140 // end of file |