接口 SaStorage
- 所有超级接口:
SaGetValueInterface,SaSetValueInterface
Storage Model,请求作用域的读取值对象
在一次请求范围内: 存值、取值
- 作者:
- kong
-
方法概要
从接口继承的方法 cn.dev33.satoken.application.SaGetValueInterface
get, getDouble, getFloat, getInt, getLong, getModel, getModel, getString, getValueByDefaultValue, has, valueIsNull从接口继承的方法 cn.dev33.satoken.application.SaSetValueInterface
get, setByNull
-
方法详细资料
-
getSource
Object getSource()获取底层源对象- 返回:
- see note
-
get
取值- 指定者:
get在接口中SaGetValueInterface- 参数:
key- key- 返回:
- 值
-
set
写值- 指定者:
set在接口中SaSetValueInterface- 参数:
key- 名称value- 值- 返回:
- 对象自身
-
delete
删值- 指定者:
delete在接口中SaSetValueInterface- 参数:
key- 要删除的key- 返回:
- 对象自身
-