測試文件下載接口代碼記錄

//將初始url轉化爲URL對象↓↓ URL url =new URL("http://localhost:8080/vtm1/clientInterface.do?type=downFile"); //打開url鏈接 HttpURLConnection conn =(HttpURLConnection)url.openConnection(); 鏈接設置 conn.setDoOutput(tru
相關文章
相關標籤/搜索