W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2001

Re: closing connection with HttpURLConnection

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 3 Jan 2001 16:18:20 +0100 (MET)
To: Ronen Lazar <RonenL@gilian.com>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.31.0101031614020.29340-100000@tarantula.inria.fr>
On Mon, 1 Jan 2001, Ronen Lazar wrote:

> Hi all,
>
> I guess it's kind of a newbie question, but I'll shut it anyway:
> once I've created an instance of HttpURLConnection, how can I close the
> connection? I mean really close - close the socket, and not marking it as
> idle, or something like this.
> HttpURLConnection.disconnect() doesn't seem to do the job.

If you are using Jigsaw's API, it should cut the connection, as it will
utimately call HttpBasicConnection.close
For other implementation I don't know...
Regards,

-- 
Yves Lafon - W3C / Jigsaw - XML Protocol - HTTP
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Wednesday, 3 January 2001 10:18:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT