Class SessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint
to expose information about HTTP Session
s 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 newSessionsEndpoint
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteSession
(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 newSessionsEndpoint
instance.- Parameters:
sessionRepository
- the session repositoryindexedSessionRepository
- the indexed session repository- Since:
- 3.3.0
-
-
Method Details
-
sessionsForUsername
-
getSession
-
deleteSession
-