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.| Constructor and Description |
|---|
SpringBootWebTestClientBuilderCustomizer(Collection<CodecCustomizer> codecCustomizers)
Create a new
SpringBootWebTestClientBuilderCustomizer that will configure
the builder's codecs using the given codecCustomizers. |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.springframework.test.web.reactive.server.WebTestClient.Builder builder)
Customize the given
builder. |
void |
setTimeout(Duration timeout) |
public SpringBootWebTestClientBuilderCustomizer(Collection<CodecCustomizer> codecCustomizers)
SpringBootWebTestClientBuilderCustomizer that will configure
the builder's codecs using the given codecCustomizers.codecCustomizers - the codec customizerspublic void setTimeout(Duration timeout)
public void customize(org.springframework.test.web.reactive.server.WebTestClient.Builder builder)
WebTestClientBuilderCustomizerbuilder.customize in interface WebTestClientBuilderCustomizerbuilder - the builderCopyright © 2019 Pivotal Software, Inc.. All rights reserved.