Code example for HttpURLConnection

Methods: setRequestProperty, setUseCaches