public static Response get ( URI uri , Credentials credentials , Header [ ] requestHeaders ) throws URISyntaxException , HttpException { return send ( new HttpGet ( uri ) , credentials , requestHeaders ) ; }
Performs an HTTP GET on the given URI . Basic auth is used if both username and pw are not null .