public < T > T get ( URI uri , Class < T > classType ) { HttpConnection connection = Http . GET ( uri ) ; InputStream response = executeToInputStream ( connection ) ; try { return getResponse ( response , classType , getGson ( ) ) ; } finally { close ( response ) ; } }
Performs a HTTP GET request .