You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Tony Spencer <to...@gmail.com> on 2005/07/21 04:12:12 UTC
HttpClient constructor missing?
On this page it states that you can create a HttpClient with a
constructor that takes only one argument which is an instance of
MultiThreadedHttpConnectionManager:
http://jakarta.apache.org/commons/httpclient/threading.html
However, I have the latest release of HttpClient and I do not see that
constructor. Is this documentation outdated?
Tony
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: HttpClient constructor missing?
Posted by Tony Spencer <to...@gmail.com>.
I apologize. My IDE was already importing some other HttpClient from
Sun which tricked me into thinking this constructor didn't exist.
Sorry guys and gals. I blame it on a lack of sleep. :)
On 7/21/05, Jaya Christina B. <bj...@mahindrabt.com> wrote:
> Tony,
> The link you have given talks abt httpclient V3.0 & this version does have
> the following constructor:-
> public HttpClient(HttpConnectionManager httpConnectionManager)
>
> The API:
> http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/http
> client/HttpClient.html#HttpClient(org.apache.commons.httpclient.HttpConnecti
> onManager)
>
> Which version is it that you are using??
>
> -Jaya.
>
>
> -----Original Message-----
> From: Tony Spencer [mailto:tony.spencer@gmail.com]
> Sent: Thursday, July 21, 2005 7:42 AM
> To: httpclient-user@jakarta.apache.org
> Subject: HttpClient constructor missing?
>
> http://jakarta.apache.org/commons/httpclient/threading.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
RE: HttpClient constructor missing?
Posted by "Jaya Christina B." <bj...@mahindrabt.com>.
Tony,
The link you have given talks abt httpclient V3.0 & this version does have
the following constructor:-
public HttpClient(HttpConnectionManager httpConnectionManager)
The API:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/http
client/HttpClient.html#HttpClient(org.apache.commons.httpclient.HttpConnecti
onManager)
Which version is it that you are using??
-Jaya.
-----Original Message-----
From: Tony Spencer [mailto:tony.spencer@gmail.com]
Sent: Thursday, July 21, 2005 7:42 AM
To: httpclient-user@jakarta.apache.org
Subject: HttpClient constructor missing?
http://jakarta.apache.org/commons/httpclient/threading.html
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org