code: private <T extends Response> T sendGetRequest(String urlStr, Class<T> clazz) throws HttpRosetteAPIException {
          HttpGet get = new HttpGet(urlStr);
          for (Header header : additionalHeaders) {
              get.addHeader(header);
          }
  
          try (CloseableHttpResponse httpResponse = httpClient.execute(get)) {
              T resp = getResponse(httpResponse, clazz);
              responseHeadersToExtendedInformation(resp, httpResponse);
              return resp;
          } catch (IOException e) {
              throw new RosetteRuntimeException("IO Exception communicating with the Rosette API", e);
          }
      }
docs: Sends a GET request to Rosette API.
  <p>
  Returns a Response.
  
  @param urlStr Rosette API end point.
  @param clazz  Response class
  @return Response
  @throws HttpRosetteAPIException