Here’s how:
URLConnection a = new URL("http://insertWebsiteAddressHere").openConnection(); System.out.println(a.getContentLength());
Δ
0 Responses to “how to find the content-length of a URL using URLConnection/HttpUrlConnection”