在我们做url权限校验时候,会有不同的api路径配置,api路径会跟实际请求的url进行匹配,我看了一下spring mvc的匹配源码, 发现了一个已经实现好的的类
import org.springframework.util.AntPathMatcher;
public class PathTest {
public static void main(String[] args) {
AntPathMatcher
在我们做url权限校验时候,会有不同的api路径配置,api路径会跟实际请求的url进行匹配,我看了一下spring mvc的匹配源码, 发现了一个已经实现好的的类
import org.springframework.util.AntPathMatcher;
public class PathTest {
public static void main(String[] args) {
AntPathMatcher
1553
2390
1341

被折叠的 条评论
为什么被折叠?