本文是擷錄自http://stackoverflow.com/questions/12405159/how-to-get-data-from-a-url

System.setProperty("http.proxyHost", "這裡換成proxy IP");

System.setProperty("http.proxyPort", "這裡換成proxy port");

文章標籤
全站熱搜
創作者介紹
創作者 痞客興 的頭像
痞客興

痞客興的部落格

痞客興 發表在 痞客邦 留言(0) 人氣(338)