dcsimg

How can I get URLConnection to bypass the proxy for certain addresses?

Tim Rohaly

When using Sun's implementation of URL, URLConnection, or HttpURLConnection, to access an HTTP URL, you can set the system property http.nonProxyHosts to be a '|' separated list of hosts not to proxy.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.