- getAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
-
取出一个值
- getAttribute(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
-
取值,并指定取不到值时的默认值
- getAttributeKeys() - 类 中的方法cn.dev33.satoken.session.SaSession
-
返回当前session会话所有key
- getCode() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
-
- getConfig() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getCookie(HttpServletRequest, String) - 接口 中的方法cn.dev33.satoken.cookie.SaTokenCookie
-
获取指定cookie .
- getCookie(HttpServletRequest, String) - 类 中的方法cn.dev33.satoken.cookie.SaTokenCookieDefaultImpl
-
获取指定cookie
- getCookie(HttpServletRequest, String) - 类 中的静态方法cn.dev33.satoken.cookie.SaTokenCookieUtil
-
获取指定cookie .
- getCreateTime() - 类 中的方法cn.dev33.satoken.session.SaSession
-
返回当前会话创建时间
- getCurrRequest() - 接口 中的方法cn.dev33.satoken.servlet.SaTokenServlet
-
获取当前请求的Request对象
- getCurrRequest() - 类 中的方法cn.dev33.satoken.servlet.SaTokenServletDefaultImpl
-
获取当前请求的Request对象
- getDataMap() - 类 中的方法cn.dev33.satoken.session.SaSession
-
获取数据集合(如果更新map里的值,请调用session.update()方法避免数据过时 )
- getId() - 类 中的方法cn.dev33.satoken.session.SaSession
-
获取会话id
- getIsReadBody() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getIsReadCookie() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getIsReadHead() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getIsShare() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getIsV() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getKeyLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取key: id 持久化
- getKeySession(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取key: session 持久化
- getKeyTokenName() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取key:客户端 tokenName
- getKeyTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取key: tokenValue 持久化
- getLoginId() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 如果未登录,则抛出异常
- getLoginId(T) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 如果未登录,则返回默认值
- getLoginId() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 如果未登录,则抛出异常
- getLoginId(T) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 如果未登录,则返回默认值
- getLoginIdAsInt() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 并转换为int
- getLoginIdAsInt() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 并转换为int
- getLoginIdAsLong() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 并转换为long
- getLoginIdAsLong() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 并转换为long
- getLoginIdAsString() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 并转换为String
- getLoginIdAsString() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 并转换为String
- getLoginIdByToken(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取指定token对应的登录id,如果未登录,则返回 null
- getLoginIdByToken(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取指定token对应的登录id,如果未登录,则返回 null
- getLoginIdDefaultNull() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话登录id, 如果未登录,则返回null
- getLoginIdDefaultNull() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话登录id, 如果未登录,则返回null
- getLoginKey() - 异常错误 中的方法cn.dev33.satoken.exception.NotLoginException
-
获得loginKey
- getLoginKey() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
-
获得login_key
- getPermissionCodeList(Object, String) - 接口 中的方法cn.dev33.satoken.stp.StpInterface
-
返回指定login_id所拥有的权限码集合
- getPermissionCodeList(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpInterfaceDefaultImpl
-
- getRandomString(int) - 类 中的静态方法cn.dev33.satoken.util.SaTokenInsideUtil
-
生成指定长度的随机字符串
- getResponse() - 接口 中的方法cn.dev33.satoken.servlet.SaTokenServlet
-
获取当前会话的 response
- getResponse() - 类 中的方法cn.dev33.satoken.servlet.SaTokenServletDefaultImpl
-
获取当前请求的Response对象
- getSaSession(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
-
根据指定key的session,如果没有,则返回空
- getSaSession(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
-
- getSaTokenAction() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getSaTokenCookie() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getSaTokenDao() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getSaTokenServlet() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getSession() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话的session
- getSession() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话的session
- getSessionById(String, boolean) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
-
获取指定key的session
- getSessionById(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
-
获取指定key的session, 如果没有则新建并返回
- getSessionByLoginId(Object, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取指定loginId的session, 如果没有,isCreate=是否新建并返回
- getSessionByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取指定loginId的session
- getSessionByLoginId(Object, boolean) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取指定loginId的session, 如果没有,isCreate=是否新建并返回
- getSessionByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取指定loginId的session
- getSessionBySessionId(String, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取指定key的session, 如果没有,isCreate=是否新建并返回
- getSessionKey(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
-
- getStpInterface() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
-
- getTimeout() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getTokenInfo() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前会话的token信息:tokenName与tokenValue
- getTokenInfo() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前会话的token信息:tokenName与tokenValue
- getTokenName() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getTokenName() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
返回token名称
- getTokenName() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
返回token名称
- getTokenStyle() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
-
- getTokenValue() - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取当前tokenValue
- getTokenValue() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取当前tokenValue
- getTokenValueByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
-
获取指定id的tokenValue
- getTokenValueByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
-
获取指定id的tokenValue
- getType() - 异常错误 中的方法cn.dev33.satoken.exception.NotLoginException
-
获取异常类型
- getValue(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
-
根据key获取value ,如果没有,则返回空
- getValue(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
-
- GITHUB_URL - 类 中的静态变量cn.dev33.satoken.util.SaTokenInsideUtil
-
sa-token 开源地址