Code example for HttpsURLConnection

Methods: setDoInput, setDoOutput, setUseCaches