public Reader requestGet ( ) throws IOException { connection . setRequestMethod ( "GET" ) ; connection . setDoOutput ( false ) ; return new Reader ( connection . getInputStream ( ) ) ; }
Do a HTTP GET request forward specified URL . Creates and return Reader object .