类 SaTokenContextForSpringInJakartaServlet

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

public class SaTokenContextForSpringInJakartaServlet extends Object implements cn.dev33.satoken.context.SaTokenContext
Sa-Token 上下文处理器 [ SpringBoot3 Jakarta Servlet 版 ]
作者:
kong
  • 构造器详细资料

    • SaTokenContextForSpringInJakartaServlet

      public SaTokenContextForSpringInJakartaServlet()
  • 方法详细资料

    • 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