protected <T> T processResponse(CloseableHttpResponse response, TypeReference<T> returnType) throws ApiException, IOException {
    statusCode = response.getStatusLine().getStatusCode();
    if (statusCode == HttpStatus.SC_NO_CONTENT) {
      return null;
    }

    responseHeaders = transformResponseHeaders(response.getAllHeaders());
    if (isSuccessfulStatus(statusCode)) {
      return this.deserialize(response, returnType);
    } else {
      String message = EntityUtils.toString(response.getEntity());
      throw new ApiException(message, statusCode, responseHeaders, message);
    }
  }
Build full URL by concatenating base path, the given sub path and query parameters.

@param path The sub path
@param queryParams The query parameters
@param collectionQueryParams The collection query parameters
@param urlQueryDeepObject URL query string of the deep object parameters
@return The full URL
plc4j/drivers/ctrlx/src/main/java/org/apache/plc4x/java/ctrlx/readwrite/rest/datalayer/ApiClient.java