classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPURLConnection.connect() buffers its entire input.


From: Chris Burdess
Subject: Re: HTTPURLConnection.connect() buffers its entire input.
Date: Fri, 9 Sep 2005 17:34:26 +0100

David Daney wrote:
That is all well and good, however it seems to me that the primary responsibility of the core implementation of HTTP in classpath is to provide the same level of support that Sun's implementation has.

It does have the same support, and more. It just does things slightly differently. There isn't anything in the specification of HttpURLConnection that states that it supports resources of arbitrary length. For resources of ordinary length, the inetlib-based implementation can significantly outperform Sun's implementation.

A secondary consideration would be to have hooks so that other proprietary libraries could hook into it to add enhanced non-standard features.

What kind of thing are you imagining? I am not a big fan of proprietary libraries and non-standard features in general.
--
Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]