Interface WebTestClientConfigurer
public interface WebTestClientConfigurer
Contract that frameworks or applications can use to pre-package a set of
customizations to a
WebTestClient.Builder
and expose that
as a shortcut.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterConfigurerAdded
(WebTestClient.Builder builder, WebHttpHandlerBuilder httpHandlerBuilder, ClientHttpConnector connector) Invoked once only, immediately (i.e.
-
Method Details
-
afterConfigurerAdded
void afterConfigurerAdded(WebTestClient.Builder builder, @Nullable WebHttpHandlerBuilder httpHandlerBuilder, @Nullable ClientHttpConnector connector) Invoked once only, immediately (i.e. before this method returns).- Parameters:
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
-