类 SessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint to expose information about HTTP Sessions on a
Servlet stack.- 从以下版本开始:
- 2.0.0
- 作者:
- Vedran Pavic
-
构造器概要
构造器构造器说明SessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newSessionsEndpointinstance. -
方法概要
修饰符和类型方法说明voiddeleteSession(String sessionId) getSession(String sessionId) sessionsForUsername(String username)
-
构造器详细资料
-
SessionsEndpoint
public SessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newSessionsEndpointinstance.- 参数:
sessionRepository- the session repositoryindexedSessionRepository- the indexed session repository- 从以下版本开始:
- 3.3.0
-
-
方法详细资料
-
sessionsForUsername
-
getSession
-
deleteSession
-