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.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.server.session |
Auxiliary interfaces and implementation classes for
WebSession support. |
Modifier and Type | Method and Description |
---|---|
MockServerWebExchange.Builder |
MockServerWebExchange.Builder.sessionManager(WebSessionManager sessionManager)
Provide a
WebSessionManager instance 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
WebSessionManager to set on the
WebServerExchange . |
void |
HttpWebHandlerAdapter.setSessionManager(WebSessionManager sessionManager)
Configure a custom
WebSessionManager to 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 |
DefaultWebSessionManager
Default implementation of
WebSessionManager delegating to a
WebSessionIdResolver for session id resolution and to a
WebSessionStore . |