commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balz Schreier" <Balz.Schre...@ctp.com>
Subject Re: [HttpClient] Timeout Exception
Date Fri, 20 Dec 2002 13:15:02 GMT
thanks! 
i really didn't expect an answer from "chreis 5" when writing to a global distribution list
:-)

balz.



Balz Schreier
Senior Consultant
Cambridge Technology Partners (Switzerland) S.A.
Leutschenbachstrasse 41
CH-8050 Zürich
Switzerland
Tel: +41 (0) 43 299 76 11
Fax: +41 (0) 43 299 75 01
mailto:Balz.Schreier@ctp.com 
http://www.ctp.com



>>> ortwin.glueck@nose.ch 12/20/02 01:50pm >>>
Note that there are two kinds of connection timeouts!
One is the timeout used when establishing a connection 
(HttpClient.setConnectionTimeout),
the other is the timout used when no traffic occurs on Socket 
(HttpClient.setTimeout).

The first kind is not included in previous releases. The 
HttpConnection.ConnectionTimeoutException is thrown from the 
HttpConnection.open() Method.

The seconds kind is included in previous releases and a 
java.io.InterruptedIOException is thrown on blocking reads from the 
InputStream.

Odi

Balz Schreier wrote:
> two questions:
> 
> 1) does only release 2 support the ConnectionTimeoutException?
> 2) is the exception actually thrown when a socket timeout occurrs? which method does
throw it?
> 
> Thanks!

-- 
_________________________________________________________________
  NOSE applied intelligence ag
                                    [www]      http://www.nose.ch 
  ortwin glück                      [email] ortwin.glueck@nose.ch 
  hardturmstrasse 171               [pgp key]          0x81CF3416
  8005 zurich                       [office]      +41-1-277 57 35
  switzerland                       [fax]         +41-1-277 57 12


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message