Class ReactiveSessionsEndpoint
java.lang.Object
org.springframework.boot.session.actuate.endpoint.ReactiveSessionsEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveSessionsEndpoint(org.springframework.session.ReactiveSessionRepository<? extends org.springframework.session.Session> sessionRepository, @Nullable org.springframework.session.ReactiveFindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newReactiveSessionsEndpointinstance. -
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, @Nullable org.springframework.session.ReactiveFindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) Create a newReactiveSessionsEndpointinstance.- 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
-