Code example for HttpURLConnection

Methods: connect, getInputStream, setDoInput, setUseCaches