class UriTemplateUtil {

    static Map<String, String> extractUriTemplateVariables(String requestPath,String matchingPatternPath){
        PathMatcher matcher = new AntPathMatcher();
        Map<String, String> map = matcher.extractUriTemplateVariables(matchingPatternPath, requestPath);

        if (LOGGER.isDebugEnabled()){
            LOGGER.debug("requestPath:[{}],matchingPatternPath:[{}],result:[{}]", requestPath, matchingPatternPath, JsonUtil.format(map));
        }
        return map;
    }

    private  UriTemplateUtil();

}