@ Nullable public < T > T execute ( @ Nonnull final HttpUriRequest aRequest , @ Nonnull final ResponseHandler < T > aResponseHandler ) throws IOException { return execute ( aRequest , ( HttpContext ) null , aResponseHandler ) ; }
Execute the provided request without any special context . The response handler is invoked as a callback . This method automatically cleans up all used resources and as such is preferred over the execute methods returning the CloseableHttpResponse .