Package | Description |
---|---|
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 |
---|---|
<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 |