Class SessionsEndpoint
java.lang.Object
org.springframework.boot.session.actuate.endpoint.SessionsEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionSessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, @Nullable org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newSessionsEndpointinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSession(String sessionId) @Nullable SessionsDescriptor.SessionDescriptorgetSession(String sessionId) @Nullable SessionsDescriptorsessionsForUsername(String username)
-
Constructor Details
-
SessionsEndpoint
public SessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, @Nullable org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.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
-