Java - URL Connection Test
HttpURLConnection
conn=(HttpURLConnection)new URL("http://novice-2-professional.blogspot.com/2018/02/testing-process-quick-refresh.html").openConnection()
conn.setRequestMethod("HEAD");
conn.connect();
int responseCode = conn.getResponseCode();
Comments
Post a Comment