类 SaHolder
java.lang.Object
cn.dev33.satoken.context.SaHolder
Sa-Token 上下文持有类
- 作者:
- kong
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static SaApplication获取全局 SaApplication 对象static SaTokenContext获取当前请求的 SaTokenContextstatic SaRequest获取当前请求的 [Request] 对象static SaResponse获取当前请求的 [Response] 对象static SaStorage获取当前请求的 [存储器] 对象
-
构造器详细资料
-
SaHolder
public SaHolder()
-
-
方法详细资料
-
getContext
获取当前请求的 SaTokenContext- 返回:
- see note
-
getRequest
获取当前请求的 [Request] 对象- 返回:
- see note
-
getResponse
获取当前请求的 [Response] 对象- 返回:
- see note
-
getStorage
获取当前请求的 [存储器] 对象- 返回:
- see note
-
getApplication
获取全局 SaApplication 对象- 返回:
- see note
-