@Override public boolean match(String pattern, String path) { log.debug("In match: " + pattern + ", " + path); if (!delagateMatcher.match(pattern, path)) { return matchMultiProfile(pattern, path); } return true; }
@BusPathMatcher // There is a @Bean of type PathMatcher coming from Spring MVC @ConditionalOnMissingBean(name = BusAutoConfiguration.BUS_PATH_MATCHER_NAME) @Bean(name = BusAutoConfiguration.BUS_PATH_MATCHER_NAME) public PathMatcher busPathMatcher() { return new DefaultBusPathMatcher(new AntPathMatcher(":")); }
@BusPathMatcher // There is a @Bean of type PathMatcher coming from Spring MVC @ConditionalOnMissingBean(name = BusAutoConfiguration.BUS_PATH_MATCHER_NAME) @Bean(name = BusAutoConfiguration.BUS_PATH_MATCHER_NAME) public PathMatcher busPathMatcher() { return new DefaultBusPathMatcher(new AntPathMatcher(":")); }
@Override public boolean match(String pattern, String path) { log.debug("In match: " + pattern + ", " + path); if (!delagateMatcher.match(pattern, path)) { return matchMultiProfile(pattern, path); } return true; }