类 SaPathMatcherHolder

java.lang.Object
cn.dev33.satoken.spring.pathmatch.SaPathMatcherHolder

public class SaPathMatcherHolder extends Object
路由匹配工具类:持有 PathMatcher 全局引用,方便快捷的调用 PathMatcher 相关方法
从以下版本开始:
1.34.0
作者:
click33
  • 字段详细资料

    • pathMatcher

      public static org.springframework.util.PathMatcher pathMatcher
      路由匹配器
  • 方法详细资料

    • getPathMatcher

      public static org.springframework.util.PathMatcher getPathMatcher()
      获取路由匹配器
      返回:
      路由匹配器
    • setPathMatcher

      public static void setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
      写入路由匹配器
      参数:
      pathMatcher - 路由匹配器