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 On 5 January 2011 17:06, Oleg Kalnichevski <[email protected]> wrote: > On Wed, 2011-01-05 at 16:54 +0100, Stelios Togias wrote: > > Hi Oleg thanks for the answers there are helpful :) > > > > how can I set the proxy per request? > > > > ConnRoutePName#DEFAULT_PROXY parameter is your friend. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
