| Package | Description | 
|---|---|
| org.springframework.mock.web.server | Mock implementations of Spring's reactive server web API abstractions. | 
| org.springframework.test.web.reactive.server | Support for testing Spring WebFlux server endpoints via
  WebTestClient. | 
| org.springframework.web.server.adapter | Implementations to adapt to the underlying
  org.springframework.http.client.reactivereactive HTTP adapter
 andHttpHandler. | 
| org.springframework.web.server.session | Auxiliary interfaces and implementation classes for
  WebSessionsupport. | 
| Modifier and Type | Method and Description | 
|---|---|
| MockServerWebExchange.Builder | MockServerWebExchange.Builder. sessionManager(WebSessionManager sessionManager)Provide a  WebSessionManagerinstance to use with the exchange. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends B> | WebTestClient.MockServerSpec. webSessionManager(WebSessionManager sessionManager)Provide a session manager instance for the mock server. | 
| Modifier and Type | Method and Description | 
|---|---|
| WebSessionManager | HttpWebHandlerAdapter. getSessionManager()Return the configured  WebSessionManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| WebHttpHandlerBuilder | WebHttpHandlerBuilder. sessionManager(WebSessionManager manager)Configure the  WebSessionManagerto set on theWebServerExchange. | 
| void | HttpWebHandlerAdapter. setSessionManager(WebSessionManager sessionManager)Configure a custom  WebSessionManagerto use for managing web
 sessions. | 
| Constructor and Description | 
|---|
| DefaultServerWebExchange(ServerHttpRequest request,
                        ServerHttpResponse response,
                        WebSessionManager sessionManager,
                        ServerCodecConfigurer codecConfigurer,
                        LocaleContextResolver localeContextResolver) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultWebSessionManagerDefault implementation of  WebSessionManagerdelegating to aWebSessionIdResolverfor session id resolution and to aWebSessionStore. |