Hi,

I would like to use a proxy (Squid) with the example code from
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java.

I tried to set the params with
params.setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);

and also in the HttpRequestExecutionHandler#initializeContext() I tried it with
context.setAttribute(ExecutionContext.HTTP_PROXY_HOST, proxy);

However, both without success.  Can someone maybe point me to what I'm
missing here?

Thanks a lot!

Pieter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to