Hello,

I have a situation where I want to avoid the proxy for the local intranet.
How do I do this with httpclient 4?

Currently I'm using code like this:

proxyClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);     
HttpGet httpget = new HttpGet(uri);     
ResponseHandler<String> responseHandler = new BasicResponseHandler();
String responseBody = proxyClient.execute(httpget, responseHandler);

Thanks

Dale

-- 
View this message in context: 
http://old.nabble.com/How-to-set-%22No-Proxy-For%22-domains--tp27301481p27301481.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to