public RestResponse get ( final String uri , final Map < String , Object > params ) throws Exception { final String path = getPath ( uri ) ; final RestResponse response = request ( path , HttpGet . METHOD_NAME , params ) ; if ( response . isError ( ) ) { throw new IOException ( response . getResponseText ( ) ) ; } return response ; }
This method implements an HTTP GET . Use this method to retrieve a resource .