Class SpringBootWebTestClientBuilderCustomizer
java.lang.Object
org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- All Implemented Interfaces:
 WebTestClientBuilderCustomizer
public class SpringBootWebTestClientBuilderCustomizer
extends Object
implements WebTestClientBuilderCustomizer
WebTestClientBuilderCustomizer for a typical Spring Boot application. Usually
 applied automatically via
 @AutoConfigureWebTestClient, but may also be used
 directly.- Since:
 - 2.0.0
 - Author:
 - Andy Wilkinson
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSpringBootWebTestClientBuilderCustomizer(Collection<CodecCustomizer> codecCustomizers) Create a newSpringBootWebTestClientBuilderCustomizerthat will configure the builder's codecs using the givencodecCustomizers. - 
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(WebTestClient.Builder builder) Customize the givenbuilder.voidsetTimeout(Duration timeout)  
- 
Constructor Details
- 
SpringBootWebTestClientBuilderCustomizer
Create a newSpringBootWebTestClientBuilderCustomizerthat will configure the builder's codecs using the givencodecCustomizers.- Parameters:
 codecCustomizers- the codec customizers
 
 - 
 - 
Method Details
- 
setTimeout
 - 
customize
Description copied from interface:WebTestClientBuilderCustomizerCustomize the givenbuilder.- Specified by:
 customizein interfaceWebTestClientBuilderCustomizer- Parameters:
 builder- the builder
 
 -