You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by petite_abeille <pe...@mac.com> on 2004/03/09 15:25:37 UTC
[HttpClient] Replacing the JDK's HttpClient?
Hello,
Is there a way to replace the JDK's HttpClient with the Common
HttpClient?
For example, Innovation's HTTPClient [1] can be setup through the
"java.protocol.handler.pkgs" system property.
Would it be possible to achieve the same effect with the Common
HttpClient?
TIA.
Cheers,
PA.
[1] http://www.innovation.ch/java/HTTPClient/getting_started.html
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [HttpClient] Replacing the JDK's HttpClient?
Posted by petite_abeille <pe...@mac.com>.
Hi Oleg,
On Mar 09, 2004, at 19:34, Oleg Kalnichevski wrote:
> Currently HttpClient provides a partial implementation of
> HttpURLConnection.
I saw that. But it seems to be more like a, er, esquisse, than a full
blown implementation of a protocol handler [1].
> The problem is (at least in my opinion) that
> HttpURLConnection is so badly broken that this hardly makes a lot of
> sense to simulate its behaviour.
Right... I'm not interested in replicating HttpURLConnection
implementation quirks, but rather in a consistent API.
> So far nobody has felt compelled to
> step in and provide a plug-in HttpURLConnection replacement based on
> HttpClient code
Bummer :/
Providing a more solid, but API compatible, implementation build on top
of Common's HttpClient would be a killer in my opinion :)
Oh, well...
Cheers,
PA.
[1] http://java.sun.com/developer/onlineTraining/protocolhandlers/
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [HttpClient] Replacing the JDK's HttpClient?
Posted by Oleg Kalnichevski <ol...@bluewin.ch>.
Petite,
Currently HttpClient provides a partial implementation of
HttpURLConnection. The problem is (at least in my opinion) that
HttpURLConnection is so badly broken that this hardly makes a lot of
sense to simulate its behaviour. So far nobody has felt compelled to
step in and provide a plug-in HttpURLConnection replacement based on
HttpClient code
Cheers,
Oleg
On Tue, 2004-03-09 at 15:25, petite_abeille wrote:
> Hello,
>
> Is there a way to replace the JDK's HttpClient with the Common
> HttpClient?
>
> For example, Innovation's HTTPClient [1] can be setup through the
> "java.protocol.handler.pkgs" system property.
>
> Would it be possible to achieve the same effect with the Common
> HttpClient?
>
> TIA.
>
> Cheers,
>
> PA.
>
> [1] http://www.innovation.ch/java/HTTPClient/getting_started.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org