Code example for HttpURLConnection

Methods: disconnect, getContentLength, getInputStream, setConnectTimeout, setReadTimeout