Code example for HttpsURLConnection

Methods: getInputStream, setConnectTimeout, setInstanceFollowRedirects, setReadTimeout