What is the difference between URLConnection, HttpURLConnection and HttpsURLConnection (with SSL). Under what conditions, which one sh
URLConnection is an abstract class so, you could never instantiate an object of that type.
HttpURLConnection extends URLConnection and provides fields and methods specific to an HTTP URL, such as, HTTP_CLIENT_TIMEOUT or setRequestMethod.
HttpsURLConnection extends HttpURLConnection and provides fields and methods specific to an HTTPS URL.