URL console = new URL(url);
Proxy proxy = request.getConfig() == null ? Proxy.NO_PROXY : request.getConfig().getProxy();
HttpURLConnection conn = (HttpURLConnection) console.openConnection(proxy);
uri连接方式
最新推荐文章于 2024-03-22 09:49:20 发布
URL console = new URL(url);
Proxy proxy = request.getConfig() == null ? Proxy.NO_PROXY : request.getConfig().getProxy();
HttpURLConnection conn = (HttpURLConnection) console.openConnection(proxy);