Class SessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint to expose information about HTTP Sessions on a
Servlet stack.- Since:
- 2.0.0
- Author:
- Vedran Pavic
-
Constructor Summary
ConstructorsConstructorDescriptionSessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newSessionsEndpointinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSession(String sessionId) getSession(String sessionId) sessionsForUsername(String username)
-
Constructor Details
-
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.- Parameters:
sessionRepository- the session repositoryindexedSessionRepository- the indexed session repository- Since:
- 3.3.0
-
-
Method Details
-
sessionsForUsername
-
getSession
-
deleteSession
-