接口的使用
org.springframework.web.server.WebSession
使用WebSession的程序包 程序包 说明 org.springframework.mock.web.reactive.function.server Mock objects for the functional web framework.org.springframework.mock.web.server Mock implementations of Spring's reactive server web API abstractions.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.web.server Core interfaces and classes for Spring's generic, reactive web support.org.springframework.web.server.adapter Implementations to adapt to the underlyingorg.springframework.http.client.reactive
reactive HTTP adapter andHttpHandler
.org.springframework.web.server.session Auxiliary interfaces and implementation classes forWebSession
support.org.springframework.mock.web.reactive.function.server中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
MockServerRequest. session()
参数类型为WebSession的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 MockServerRequest.Builder
MockServerRequest.Builder. session(WebSession session)
org.springframework.mock.web.server中WebSession的使用
实现WebSession的org.springframework.mock.web.server中的类 修饰符和类型 类 说明 class
MockWebSession
Implementation ofWebSession
that delegates to a session instance obtained viaInMemoryWebSessionStore
.参数类型为WebSession的org.springframework.mock.web.server中的方法 修饰符和类型 方法 说明 MockServerWebExchange.Builder
MockServerWebExchange.Builder. session(WebSession session)
Set the session to use for the exchange.org.springframework.web.reactive.function.server中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
ServerRequest. session()
Get the web session for this request.org.springframework.web.reactive.function.server.support中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
ServerRequestWrapper. session()
org.springframework.web.server中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.web.server中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
ServerWebExchange. getSession()
Return the web session for the current request.reactor.core.publisher.Mono<WebSession>
ServerWebExchangeDecorator. getSession()
org.springframework.web.server.adapter中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.web.server.adapter中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
DefaultServerWebExchange. getSession()
org.springframework.web.server.session中WebSession的使用
返回变量类型为WebSession的类型的org.springframework.web.server.session中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
InMemoryWebSessionStore. createWebSession()
reactor.core.publisher.Mono<WebSession>
WebSessionStore. createWebSession()
Create a new WebSession.reactor.core.publisher.Mono<WebSession>
DefaultWebSessionManager. getSession(ServerWebExchange exchange)
reactor.core.publisher.Mono<WebSession>
WebSessionManager. getSession(ServerWebExchange exchange)
Return theWebSession
for the given exchange.Map<String,WebSession>
InMemoryWebSessionStore. getSessions()
Return the map of sessions with anunmodifiable
wrapper.reactor.core.publisher.Mono<WebSession>
InMemoryWebSessionStore. retrieveSession(String id)
reactor.core.publisher.Mono<WebSession>
WebSessionStore. retrieveSession(String sessionId)
Return the WebSession for the given id.reactor.core.publisher.Mono<WebSession>
InMemoryWebSessionStore. updateLastAccessTime(WebSession session)
reactor.core.publisher.Mono<WebSession>
WebSessionStore. updateLastAccessTime(WebSession webSession)
Update the last accessed timestamp to "now".参数类型为WebSession的org.springframework.web.server.session中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<WebSession>
InMemoryWebSessionStore. updateLastAccessTime(WebSession session)
reactor.core.publisher.Mono<WebSession>
WebSessionStore. updateLastAccessTime(WebSession webSession)
Update the last accessed timestamp to "now".