Code example for HttpURLConnection

Methods: disconnect, getInputStream, setConnectTimeout, setRequestProperty