Class SessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint
to expose a user's Session
s.- Since:
- 2.0.0
- Author:
- Vedran Pavic
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Description of user'ssession
.static final class
Description of user'ssessions
. -
Constructor Summary
ConstructorDescriptionSessionsEndpoint
(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) Create a newSessionsEndpoint
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteSession
(String sessionId) getSession
(String sessionId) sessionsForUsername
(String username)
-
Constructor Details
-
SessionsEndpoint
public SessionsEndpoint(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) Create a newSessionsEndpoint
instance.- Parameters:
sessionRepository
- the session repository
-
-
Method Details
-
sessionsForUsername
-
getSession
-
deleteSession
-