Additionally, I believe there is an open issue related to this configuration, 
http://restlet.tigris.org/issues/show_bug.cgi?id=356

Any suggestions to how this parameter might be easily configured while the 
issue is addressed would be welcomed.

Thanks again,
Sanjay
----------------------------------------
> From: [EMAIL PROTECTED]
> To: [email protected]
> Date: Tue, 24 Jun 2008 16:18:20 +0000
> Subject: Setting HttpClient IOException Retry
> 
> 
> Hi,
> 
> I am hoping to be able to configure the org.apache.commons.HttpClient's 
> method retry handler to change the max number of times the HttpClient will 
> attempt to retry connecting when there is an IOException.The Restlet 
> HttpClientHelper, I believe does not support this configuration to the 
> underlying HttpClient. Any suggestions on the best way to set the Retry 
> Handler without explicit casting of Helper and getting the HttpClient there 
> in?
> 
> Additionally, any suggestions on how to simulate an IOException from a 
> Restlet so that the retry can be validated would be appreciated. Is there a 
> Status that I can set that will result in an IOException in the HttpClient?
> 
>  component.getDefaultHost().attach(new Restlet(component.getContext()){
>         @Override public void handle(Request request, Response response){
> 
>           response.setEntity(new StringRepresentation("Hello World"));
> 
>         }
>     });
> 
> Thanks much.
> Sanjay
> _________________________________________________________________
> Need to know now? Get instant answers with Windows Live Messenger.
> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008

_________________________________________________________________
The i’m Talkathon starts 6/24/08.  For now, give amongst yourselves.
http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst

Reply via email to