Article View: borland.public.jbuilder.java.language
Article #726HttpsURLConnection timeout
From: Preston
Date: Thu, 09 Dec 2004 23:32
Date: Thu, 09 Dec 2004 23:32
6 lines
1092 bytes
1092 bytes
Is there a way I can set a timeout on a HttpsURLConnection? After establishing the connection and sending my request, I'd like to be able to timeout while waiting for the response. I've seen some suggestions in the newsgroups but nothing definitive. Preston
Technical Details
Message-ID:
<41b8e0a2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f74b3,943094d8a935200d,start X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Preston" <nospam@nospam.com> Newsgroups: borland.public.jbuilder.java.language Subject: HttpsURLConnection timeout Date: Thu, 9 Dec 2004 16:32:49 -0700 Lines: 8 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 67.164.205.228 Message-ID: <41b8e0a2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102635170 67.164.205.228 (9 Dec 2004 15:32:50 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail