public interface WebTestClientConfigurer
WebTestClient.Builder
and expose that
as a shortcut.MockServerConfigurer
Modifier and Type | Method and Description |
---|---|
void |
afterConfigurerAdded(WebTestClient.Builder builder,
org.springframework.web.server.adapter.WebHttpHandlerBuilder httpHandlerBuilder,
org.springframework.http.client.reactive.ClientHttpConnector connector)
Invoked once only, immediately (i.e.
|
void afterConfigurerAdded(WebTestClient.Builder builder, @Nullable org.springframework.web.server.adapter.WebHttpHandlerBuilder httpHandlerBuilder, @Nullable org.springframework.http.client.reactive.ClientHttpConnector connector)
builder
- the WebTestClient builder to make changes tohttpHandlerBuilder
- the builder for the "mock server" HttpHandler
this client was configured for "mock server" testingconnector
- the connector for "live" integration tests if this
server was configured for live integration testing