AntPathMatcher
Spring工具类--路径匹配(AntPathMatcher)--使用/实例
原文网址:Spring工具类--路径匹配(AntPathMatcher)--使用/实例_IT利刃出鞘的博客-CSDN博客 简介 整个Spring(SpringBoot)框架的路径解析都是按照Ant的风格来的,比如:Controller的请求路径、文件路径、包的路径。所以,掌握Ant的路径匹配很重要。 ......
Spring工具类-路径匹配(AntPathMatcher)
1.介绍 Spring(SpringBoot)框架的路径解析都是按照Ant的风格。 Spring中的具体实现: org.springframework.util.AntPathMatcher ? 匹配1个字符 /dir/app? 匹配:/dir/app1、/dir/app2 不匹配:/dir/app ......