I am using the The MultiTrhadHttpConnectionManger, and
I am not sure how to reconnect when I get
HttpRecoverableExeception due to long idle time
this is the code im using
public void foo(MultiThreadedHttpConnectionManager
manager)
{
GetMethod method;
try
{
HttpClient con=new HttpClient(manager);
method=new GetMethod(string);
con.executeMethod(method);
}
catch (HttpRecoverableException e)
{
//I am not sure how to reconnect
}
finally
{
method.releaseConnection();
}
}
thanks,
Itai
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]