commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10798] - Redefine HttpClient vs HttpMultiClient interface for 2.0
Date Tue, 16 Jul 2002 01:06:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10798>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10798

Redefine HttpClient vs HttpMultiClient interface for 2.0

jsdever@sympatico.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Redefine the public API for |Redefine HttpClient vs
                   |2.0                         |HttpMultiClient interface
                   |                            |for 2.0



------- Additional Comments From jsdever@sympatico.ca  2002-07-16 01:06 -------
HttpClient is the standard client class from version 1.0.  HttpMultiClient was
added in 2.0alpha1 to address the lack of synchronization in the old client and
provide the core for a multi-threaded http based application.

The problem is that we have 2 different client classes that although they do
pretty much the same thing, their interfaces are quite different due to the
single session nature of HttpClient and the multiple connection pool
HttpMultiClient.

Here are 4 proposed requirements for this feature.
1) The top level class should be HttpClient
2) HttpMultiClient has the functionality we should present in the top level
class
3) HttpMultiClient has not been in a release other than alpha, so it should be
safe to remove as an interface
4) Backwards compatability with HttpClient1.0 interface should be maintained as
much as possible, with deprication where it makes sense.

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message