SpringMVC 請求路由忽略大小寫

@Configuration
public class SpringWebConfig extends WebMvcConfigurationSupport {ide

    @Override
    public void configurePathMatch(PathMatchConfigurer configurer) {
        AntPathMatcher pathMatcher = new AntPathMatcher();
        pathMatcher.setCaseSensitive(false);
        configurer.setPathMatcher(pathMatcher);
    }.net

}get