You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2006/12/08 17:41:54 UTC

[HttpClient] taking the first stab at HttpClient 4.0

Folks,

With HttpCore ALPHA3 finally out the door, I think it is time we put
HttpCore on the back burner for a while and took a first stab at
HttpClient 4.0.

Here is my Evil (tm) Plan. 

There are many things I never liked about HttpClient 3.x API. High on my
list are HttpConfiguration, HttpState, HttpConnection, HttpCookie. While
I am convinced there are better / cleaner ways to go about HTTP state
management, host configuration and connection management, these classes
are not broken beyond redemption the same way HttpMethod and
HttpMethodBase are. 

In my opinion HttpCore fixed those things that were broken really badly
about HttpClient 3.x. So, as a first step I suggest that we simply try
to port HttpClient 3.x code to HttpCore without any drastic changes in
client side protocol code and see how that comes about. Once we have
something working and delivering equivalent functionality to that of
HttpClient 3.x, we could take a step back, take a hard look at those
things that are still sub-optimal and decide which of those need to be
redesigned. 

How does that sound?

Evil Comrade Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: [HttpClient] taking the first stab at HttpClient 4.0

Posted by Roland Weber <ht...@dubioso.net>.
Hi Oleg,

> In my opinion HttpCore fixed those things that were broken really badly
> about HttpClient 3.x. So, as a first step I suggest that we simply try
> to port HttpClient 3.x code to HttpCore without any drastic changes in
> client side protocol code and see how that comes about.

This makes sense. If you have some spare cycles left, have a stab at it.
I should be able to do some work in the first quarter and was tentatively
planning to work on the HttpConn stuff then, as it is a prerequisite to
HttpAsync.

cheers,
  Roland



---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: [HttpClient] taking the first stab at HttpClient 4.0

Posted by Ortwin Glück <od...@odi.ch>.
Hi Oleg,

Sounds like a good refactoring plan: Rip out old code and replace with 
HttpCore calls. Then see what remains left. Yup, I like it. It will 
probably be a pain to migrate all the test code, but a necessary one.

Cheers

Odi

Oleg Kalnichevski wrote:
> Folks,
> 
> With HttpCore ALPHA3 finally out the door, I think it is time we put
> HttpCore on the back burner for a while and took a first stab at
> HttpClient 4.0.
> 
> Here is my Evil (tm) Plan. 
> 
> There are many things I never liked about HttpClient 3.x API. High on my
> list are HttpConfiguration, HttpState, HttpConnection, HttpCookie. While
> I am convinced there are better / cleaner ways to go about HTTP state
> management, host configuration and connection management, these classes
> are not broken beyond redemption the same way HttpMethod and
> HttpMethodBase are. 
> 
> In my opinion HttpCore fixed those things that were broken really badly
> about HttpClient 3.x. So, as a first step I suggest that we simply try
> to port HttpClient 3.x code to HttpCore without any drastic changes in
> client side protocol code and see how that comes about. Once we have
> something working and delivering equivalent functionality to that of
> HttpClient 3.x, we could take a step back, take a hard look at those
> things that are still sub-optimal and decide which of those need to be
> redesigned. 
> 
> How does that sound?
> 
> Evil Comrade Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 

-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: [HttpClient] taking the first stab at HttpClient 4.0

Posted by Michael Becke <mb...@gmail.com>.
Agreed.  Sounds like the right approach.

Mike

On 12/8/06, Oleg Kalnichevski <ol...@apache.org> wrote:
> Folks,
>
> With HttpCore ALPHA3 finally out the door, I think it is time we put
> HttpCore on the back burner for a while and took a first stab at
> HttpClient 4.0.
>
> Here is my Evil (tm) Plan.
>
> There are many things I never liked about HttpClient 3.x API. High on my
> list are HttpConfiguration, HttpState, HttpConnection, HttpCookie. While
> I am convinced there are better / cleaner ways to go about HTTP state
> management, host configuration and connection management, these classes
> are not broken beyond redemption the same way HttpMethod and
> HttpMethodBase are.
>
> In my opinion HttpCore fixed those things that were broken really badly
> about HttpClient 3.x. So, as a first step I suggest that we simply try
> to port HttpClient 3.x code to HttpCore without any drastic changes in
> client side protocol code and see how that comes about. Once we have
> something working and delivering equivalent functionality to that of
> HttpClient 3.x, we could take a step back, take a hard look at those
> things that are still sub-optimal and decide which of those need to be
> redesigned.
>
> How does that sound?
>
> Evil Comrade Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org