ok that sets the proxy, now when I want to remove it I do
httpClient.getParams().removeParameter(ConnRoutePNames.DEFAULT_PROXY);
or I set the ConnRoutePNames some other value...


On 7 January 2011 13:59, Oleg Kalnichevski <[email protected]> wrote:

> On Fri, 2011-01-07 at 11:51 +0100, Stelios Togias wrote:
> > so I would do:
> > httpClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY,
> proxy);
> >
> > and when I don't want to use it
> > httpClient.getParams().removeParameter(ConnRoutePNames.DEFAULT_PROXY);
> >
> > thanks
> > stelios
> >
>
> HttpUriRequest#setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
>
> Hope this helps
>
> Oleg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to