Code example for HttpsURLConnection

Methods: setConnectTimeout, setDoOutput, setReadTimeout, setRequestMethod, setRequestProperty, setUseCaches