Package | Description |
---|---|
org.springframework.mock.web.server |
Mock implementations of Spring's reactive server web API abtsractions.
|
Modifier and Type | Method and Description |
---|---|
static MockServerWebExchange.Builder |
MockServerWebExchange.builder(MockServerHttpRequest.BaseBuilder<?> requestBuilder)
Variant of
MockServerWebExchange.builder(MockServerHttpRequest) with a mock request builder. |
static MockServerWebExchange.Builder |
MockServerWebExchange.builder(MockServerHttpRequest request)
Create a
MockServerWebExchange.Builder starting with the given mock request. |
MockServerWebExchange.Builder |
MockServerWebExchange.Builder.session(WebSession session)
Set the session to use for the exchange.
|
MockServerWebExchange.Builder |
MockServerWebExchange.Builder.sessionManager(WebSessionManager sessionManager)
Provide a
WebSessionManager instance to use with the exchange. |