Class ReactiveSessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.ReactiveSessionsEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveSessionsEndpoint
(org.springframework.session.ReactiveSessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.ReactiveFindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newReactiveSessionsEndpoint
instance. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<Void> deleteSession
(String sessionId) reactor.core.publisher.Mono
<SessionsDescriptor.SessionDescriptor> getSession
(String sessionId) reactor.core.publisher.Mono
<SessionsDescriptor> sessionsForUsername
(String username)
-
Constructor Details
-
ReactiveSessionsEndpoint
public ReactiveSessionsEndpoint(org.springframework.session.ReactiveSessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.ReactiveFindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newReactiveSessionsEndpoint
instance.- Parameters:
sessionRepository
- the session repositoryindexedSessionRepository
- the indexed session repository
-
-
Method Details
-
sessionsForUsername
@ReadOperation public reactor.core.publisher.Mono<SessionsDescriptor> sessionsForUsername(String username) -
getSession
@ReadOperation public reactor.core.publisher.Mono<SessionsDescriptor.SessionDescriptor> getSession(@Selector String sessionId) -
deleteSession
-