How to timeout a Http URL Connection
Use this code snippet to implement timeout functionality for a http connection timeout.zip
it contains
a code snippet:
public static HttpTimeoutClient getNew(URL url) throws IOException { HttpTimeoutClient httpTimeoutClient = (HttpTimeoutClient) kac.get(url); if (httpTimeoutClient == null) { httpTimeoutClient = new HttpTimeoutClient (url); // CTOR called openServer() } else { httpTimeoutClient.url = url; } return httpTimeoutClient; }
About this entry
You’re currently reading “How to timeout a Http URL Connection,” an entry on Quality Obsessed
- Published:
- 03.08.08 / 9am
- Rate article:
Printer Friendly

No comments
Jump to comment form | comments rss [?] | trackback uri [?]