class UriTemplateUtil {

    public static String expandWithVariable(String requestPath,String matchingPatternPath,String variableName,String value){
        Map<String, String> map = extractUriTemplateVariables(requestPath, matchingPatternPath);
        map.put(variableName, value);
        return expand(matchingPatternPath, map);
    }

    private  UriTemplateUtil();

}