Class ReactiveSessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.ReactiveSessionsEndpoint
@Endpoint to expose information about HTTP Sessions on a
reactive stack.- Since:
- 3.3.0
- Author:
- Vedran Pavic, Moritz Halbritter
-
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 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, 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
-