类 ReactiveSessionsEndpoint
java.lang.Object
org.springframework.boot.actuate.session.ReactiveSessionsEndpoint
@Endpoint
to expose information about HTTP Session
s on a
reactive stack.- 从以下版本开始:
- 3.3.0
- 作者:
- Vedran Pavic, Moritz Halbritter
-
构造器概要
构造器构造器说明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. -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono
<Void> deleteSession
(String sessionId) reactor.core.publisher.Mono
<SessionsDescriptor.SessionDescriptor> getSession
(String sessionId) reactor.core.publisher.Mono
<SessionsDescriptor> sessionsForUsername
(String username)
-
构造器详细资料
-
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.- 参数:
sessionRepository
- the session repositoryindexedSessionRepository
- the indexed session repository
-
-
方法详细资料
-
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
-