如何设置http代理:
System.getProperties().setProperty("http.proxyHost","代理的ip地址");
System.getProperties().setProperty("http.proxyPort", "端口");
System.getProperties().setProperty("http.proxyHost","代理的ip地址");
System.getProperties().setProperty("http.proxyPort", "端口");
prop.put("proxySet", "true");
prop.put("proxyHost","主机");
prop.put("proxyPort","端口");