类 SaTokenContextForJboot

java.lang.Object
cn.dev33.satoken.jboot.SaTokenContextForJboot
所有已实现的接口:
cn.dev33.satoken.context.SaTokenContext

public class SaTokenContextForJboot extends Object implements cn.dev33.satoken.context.SaTokenContext
Sa-Token 上线文处理器 [Jboot 版本实现]
  • 构造器详细资料

    • SaTokenContextForJboot

      public SaTokenContextForJboot()
  • 方法详细资料

    • getRequest

      public cn.dev33.satoken.context.model.SaRequest getRequest()
      获取当前请求的Request对象
      指定者:
      getRequest 在接口中 cn.dev33.satoken.context.SaTokenContext
    • getResponse

      public cn.dev33.satoken.context.model.SaResponse getResponse()
      获取当前请求的Response对象
      指定者:
      getResponse 在接口中 cn.dev33.satoken.context.SaTokenContext
    • getStorage

      public cn.dev33.satoken.context.model.SaStorage getStorage()
      获取当前请求的 [存储器] 对象
      指定者:
      getStorage 在接口中 cn.dev33.satoken.context.SaTokenContext
    • matchPath

      public boolean matchPath(String pattern, String path)
      校验指定路由匹配符是否可以匹配成功指定路径
      指定者:
      matchPath 在接口中 cn.dev33.satoken.context.SaTokenContext
    • isValid

      public boolean isValid()
      指定者:
      isValid 在接口中 cn.dev33.satoken.context.SaTokenContext