Class SessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint to expose a user's Sessions.- Since:
- 2.0.0
- Author:
- Vedran Pavic
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescription of user'ssession.static final classDescription of user'ssessions. -
Constructor Summary
ConstructorsConstructorDescriptionSessionsEndpoint(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) Create a newSessionsEndpointinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSession(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 newSessionsEndpointinstance.- Parameters:
sessionRepository- the session repository
-
-
Method Details
-
sessionsForUsername
-
getSession
-
deleteSession
-