@Override
    public Boolean judge(final ConditionData conditionData, final String realData) {
        if (Objects.equals(ParamTypeEnum.URI.getName(), conditionData.getParamType())) {
            return PathMatchUtils.pathPattern(conditionData.getParamValue().trim(), realData);
        }
        return realData.contains(conditionData.getParamValue().trim());
    }
1. it used {@linkplain org.springframework.web.util.pattern.PathPattern}
2. not support '/api / ** /xxx'.
3. better performance than {@linkplain org.springframework.util.AntPathMatcher}
Path pattern predicate judge.
shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shenyu/plugin/base/condition/judge/PathPatternPredicateJudge.java