java中的URLConnection和HttpURLConnection
1 URL url = new URL(strUrl); 2 URLConnection con = url.openConnection();
1 URL url = new URL(strUrl); 2 HttpURLConnection con = (HttpURLConnection)url.openConnection();
Stay hungry,stay foolish.
1 URL url = new URL(strUrl); 2 URLConnection con = url.openConnection();
1 URL url = new URL(strUrl); 2 HttpURLConnection con = (HttpURLConnection)url.openConnection();