class HttpUtils {

    public static List<Integer> calculatePathMatchScore(String path) {
        path = normaliseUriPath(path);
        UriTemplateParser templateParser = getUriParserForPattern(path);

        int pathScore = templateParser.getNumberOfLiteralCharacters();
        int paramScore = templateParser.getNumberOfRegexGroups() - templateParser.getNumberOfExplicitRegexes();
        int regexScore = templateParser.getNumberOfExplicitRegexes();

        List<Integer> scores = Arrays.asList(pathScore, paramScore, regexScore);
        return scores;
    }

    private  HttpUtils();

}