java使用代理

    技术2022-05-11  75

    public class UseProxy { public static void main(String args[]) { System.setProperty("http.proxySet",true); System.setProperty("http.proxyHost","socks.myhost.com"); System.setProperty("http.proxyPort","1080"); // program continues here } }

    最新回复(0)