Class SessionsEndpoint
java.lang.Object
org.springframework.boot.session.actuate.endpoint.SessionsEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionSessionsEndpoint(SessionRepository<? extends Session> sessionRepository, @Nullable FindByIndexNameSessionRepository<? extends Session> indexedSessionRepository) Create a newSessionsEndpointinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSession(String sessionId) getSession(String sessionId) sessionsForUsername(String username)
-
Constructor Details
-
SessionsEndpoint
public SessionsEndpoint(SessionRepository<? extends Session> sessionRepository, @Nullable FindByIndexNameSessionRepository<? extends Session> indexedSessionRepository) Create a newSessionsEndpointinstance.- Parameters:
sessionRepository- the session repositoryindexedSessionRepository- the indexed session repository
-
-
Method Details
-
sessionsForUsername
-
getSession
@ReadOperation public @Nullable SessionsDescriptor.SessionDescriptor getSession(@Selector String sessionId) -
deleteSession
-