This link has been bookmarked by 29 people . It was first bookmarked on 14 Apr 2008, by Cristian Bidea.
-
07 May 12
-
The http.nonProxyHosts property indicates the hosts which should be connected too directly and not through the proxy server. The value can be a list of hosts, each seperated by a |, and in addition a wildcard character (*) can be used for matching.
-
-
27 Sep 11
-
16 Sep 11
-
08 Apr 11
Bhaskar Ghosh"System.setProperty("java.net.useSystemProxies", "true");"
-
23 Mar 11
rockhoppers//Proxy instance, proxy ip = 123.0.0.1 with port 8080
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("123.0.0.1", 8080));
URL url = new URL("http://www.yahoo.com");
HttpURLConnection uc = (HttpURLConnection)url.openConnection(proxy);
uc.connect();
String page;
StringBuffer tmp = new StringBuffer();
BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
while ((line = in.readLine()) != null){
page.append(line + "\n");
}
System.out.println(page); -
18 Oct 10
-
-Dhttp.proxyHost=myproxyserver.com -Dhttp.proxyPort=80
-
-Dhttp.proxyHost=myproxyserver.com -Dhttp.proxyPort=80
-
-
05 May 10
-
27 Apr 10
-
03 Mar 10
-
15 Jan 10
-
09 Dec 09
-
30 Nov 08
-
29 Oct 08
-
15 Mar 06
-
06 Dec 05
-
23 Jul 05
-
22 Jul 05
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.