code: protected Response getWithAccepts(MultivaluedMap<String, String> queryParams, String accepts, Object... pathArgs) throws IOException {
          URL url = getApiUrl(pathArgs);
          return (getWithAccepts(queryParams, url, accepts));
      }
docs: Perform an HTTP GET call with the specified query parameters and path objects, returning
  a ClientResponse instance with the data returned from the endpoint.
  
  @param queryParams multivalue map of request parameters
  @param accepts if non-empty will set the Accepts header to this value
  @param pathArgs variable list of arguments used to build the URI
  @return a ClientResponse instance with the data returned from the endpoint
  @throws IOException if an error occurs while constructing the URL