hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: socket errors (connection reset, read timed out)
Date Fri, 10 Nov 2006 11:49:33 GMT
Hello Eugene,

> As far as I can see this exception handler can handle only exceptions 
derived
> from IOEXception - but not java.net.SocketException etc?

SocketException extends IOException.
What would be etc?

> Just to make it clear - should I set ReflectionSocketFactory.java to
> HttpClient, or I need to write my own implementation?

You should write your own. ReflectionSocketFactory is a very
complicated way to call JDK 1.4 specific methods while still
compiling against a 1.3 API. But have a look at the comments there.

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message