What is the HttpUrlConnection timeout value?
1 posts in topic
Flat View  Flat View

Posted By:   Steven_Martin
Posted On:   Thursday, May 30, 2002 02:32 PM

Everyone seems to have a way to timeout. Do we know what the default timeout is or does that depend on your internet connection? I'm guessing the internet connection.

Re: What is the HttpUrlConnection timeout value?

Posted By:   Neil_Wightman  
Posted On:   Friday, May 31, 2002 04:26 AM


Have a look at the
sun.net.client.defaultConnectTimeout (default: -1)
sun.net.client.defaultReadTimeout (default: -1)
properties near the bottom of this URL.

These properties specify the default connect and read timeout (resp.) for the protocol handler used by java.net.URLConnection.


Hope this helps.
About | Sitemap | Contact