code: public String executePackageManagerMethodHtml(CloseableHttpClient httpClient, HttpRequestBase method) {
      PackageManagerHtmlCall call = new PackageManagerHtmlCall(httpClient, method, log);
      String message = executeHttpCallWithRetry(call, 0);
      return message;
    }
docs: Execute CRX HTTP Package manager method and get HTML response.
  @param httpClient Http client
  @param method Get or Post method
  @return Response from HTML server