类 SaPathMatcherHolder
java.lang.Object
cn.dev33.satoken.loveqq.boot.support.SaPathMatcherHolder
路由匹配工具类:持有 PathMatcher 全局引用,方便快捷的调用 PathMatcher 相关方法
- 从以下版本开始:
- 1.34.0
- 作者:
- click33
-
字段概要
字段 -
方法概要
修饰符和类型方法说明static com.kfyty.loveqq.framework.core.support.PatternMatcher获取路由匹配器static boolean判断:指定路由匹配符是否可以匹配成功指定路径static voidsetPathMatcher(com.kfyty.loveqq.framework.core.support.PatternMatcher pathMatcher) 写入路由匹配器
-
字段详细资料
-
pathMatcher
public static com.kfyty.loveqq.framework.core.support.PatternMatcher pathMatcher路由匹配器
-
-
方法详细资料
-
getPathMatcher
public static com.kfyty.loveqq.framework.core.support.PatternMatcher getPathMatcher()获取路由匹配器- 返回:
- 路由匹配器
-
setPathMatcher
public static void setPathMatcher(com.kfyty.loveqq.framework.core.support.PatternMatcher pathMatcher) 写入路由匹配器- 参数:
pathMatcher- 路由匹配器
-
match
判断:指定路由匹配符是否可以匹配成功指定路径- 参数:
pattern- 路由匹配符path- 要匹配的路径- 返回:
- 是否匹配成功
-