embeddedParams.removeAll(duplicates);
queryParams.addAll(embeddedParams);
requestString = StringUtils.join(queryParams, "&");
} else if (count > 1){
//something's really wrong here, or the path has parameters embedded in the path
throw new MalformedURLException("This path is problematic: ['" + path + "']");
}
String combined = path + "?" + requestString;
logger.info("Combined URL: " + combined);