Code example for HttpsURLConnection

Methods: setConnectTimeout, setDoInput, setDoOutput, setReadTimeout, setUseCaches