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 Florent Georges <li...@fgeorges.org> on 2009/03/17 12:16:57 UTC

HC 3.x: properties for proxy info?

  Hi,

  I use an application that uses HTTP Client 3.x to perform
requests but have not (yet) set up a way to configure proxy
information.  As I expected from experience with HC 4.0,
setting Java properties http.proxy* did not help.  I've
looked for similar properties dedicated to HC, but did not
find any.

  Did I miss them?  Is there any other way to set those
information from outside of the Java code? Or do I have to
wait for the developers of this application to set a way to
configure the proxy?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/























      

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: HC 3.x: properties for proxy info?

Posted by Florent Georges <li...@fgeorges.org>.
Oleg Kalnichevski wrote:

> >   Did I miss them?

> No, you did not. HttpClient does not make use of system
> properties.  Proxy configuration must be set through the API.

  Ok.  So now at least I know that I have to wait for them supporting explicitly those settings.

  Thanks for the follow up, regards,

-- 
Florent Georges
http://www.fgeorges.org/























      

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: HC 3.x: properties for proxy info?

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2009-03-17 at 11:16 +0000, Florent Georges wrote:
> Hi,
> 
>   I use an application that uses HTTP Client 3.x to perform
> requests but have not (yet) set up a way to configure proxy
> information.  As I expected from experience with HC 4.0,
> setting Java properties http.proxy* did not help.  I've
> looked for similar properties dedicated to HC, but did not
> find any.
> 
>   Did I miss them?

No, you did not. HttpClient does not make use of system properties.
Proxy configuration must be set through the API.

Oleg

>   Is there any other way to set those
> information from outside of the Java code? Or do I have to
> wait for the developers of this application to set a way to
> configure the proxy?
> 
>   Regards,
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org