@Override public boolean downloadTemplate() { CloseableHttpResponse response; try { response = httpsClient.execute(req); } catch (IOException e) { throw new CloudRuntimeException("Error on HTTPS request: " + e.getMessage()); } return consumeResponse(response); }