code: protected T sendAndReturn(final HttpUriRequest request) throws IOException {
      try (CloseableHttpClient client = HttpClients.createDefault()) {
        return this.parseResponse(client.execute(request));
      }
    }
docs: function to dispatch the request and pass back the response.