equal
deleted
inserted
replaced
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
120 TInt StatusCode() const; |
120 TInt StatusCode() const; |
121 const TDesC8& Method() const; |
121 const TDesC8& Method() const; |
122 const TDesC8& Uri() const; |
122 const TDesC8& Uri() const; |
123 const TDesC8& RawRequest() const; |
123 const TDesC8& RawRequest() const; |
124 const TDesC8& RawResponse() const; |
124 const TDesC8& RawResponse() const; |
|
125 const TDesC8& EncodedAuthenticationRequest() const; |
|
126 void SetAuthReqRes(); |
125 const TDesC8& ResponseBody() const; |
127 const TDesC8& ResponseBody() const; |
126 const RPointerArray<CHeaderInfo>& HeaderInfos() const |
128 const RPointerArray<CHeaderInfo>& HeaderInfos() const |
127 { |
129 { |
128 return iResponseHeaderInfos; |
130 return iResponseHeaderInfos; |
129 } |
131 } |
149 TInt ExpectedError() const; |
151 TInt ExpectedError() const; |
150 TBool NoRetryOnDisconnect() const; |
152 TBool NoRetryOnDisconnect() const; |
151 TBool ResponseTimeoutEnable() const; |
153 TBool ResponseTimeoutEnable() const; |
152 TBool IsRedirecting() const; |
154 TBool IsRedirecting() const; |
153 TBool TransferProgress() const; |
155 TBool TransferProgress() const; |
|
156 TBool IsAuthenticationReqd() const; |
154 |
157 |
155 const TDesC8& RequestBody() const |
158 const TDesC8& RequestBody() const |
156 { |
159 { |
157 if(iRequestBody) |
160 if(iRequestBody) |
158 return *iRequestBody; |
161 return *iRequestBody; |
192 TInt iStatusCode; |
195 TInt iStatusCode; |
193 HBufC8* iMethod; |
196 HBufC8* iMethod; |
194 HBufC8* iUri; |
197 HBufC8* iUri; |
195 HBufC8* iRawRequest; |
198 HBufC8* iRawRequest; |
196 HBufC8* iRawResponse; |
199 HBufC8* iRawResponse; |
|
200 HBufC8* iEncodedAuthenticationRequest; |
|
201 HBufC8* iFinalResponse; |
197 HBufC8* iResponseBody; |
202 HBufC8* iResponseBody; |
198 HBufC8* iRequestBody; |
203 HBufC8* iRequestBody; |
199 TInt iExpectedError; |
204 TInt iExpectedError; |
200 TBool iNoRetryOnDisconnect; |
205 TBool iNoRetryOnDisconnect; |
201 RPointerArray<CHeaderInfo> iResponseHeaderInfos; |
206 RPointerArray<CHeaderInfo> iResponseHeaderInfos; |
203 TBool iResponseDynamicAndStatic; |
208 TBool iResponseDynamicAndStatic; |
204 TBool iOnlineTest; |
209 TBool iOnlineTest; |
205 TBool iResponseTimeout; |
210 TBool iResponseTimeout; |
206 TBool iRedirection; |
211 TBool iRedirection; |
207 TBool iNotifyTransferProgress; |
212 TBool iNotifyTransferProgress; |
|
213 TBool iSetAuthentication; |
208 HBufC8* iProxyAddress; |
214 HBufC8* iProxyAddress; |
209 }; |
215 }; |
210 |
216 |
211 class CHttpClientTestParamArray : public CBase |
217 class CHttpClientTestParamArray : public CBase |
212 { |
218 { |