Interface RestTestClientBuilderCustomizer
- All Known Implementing Classes:
SpringBootRestTestClientBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A customizer that can be implemented by beans wishing to customize the
RestTestClient.Builder to fine-tune its auto-configuration before a
RestTestClient is created.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.test.web.servlet.client.RestTestClient.Builder<?> builder) Customize the givenRestTestClient.Builder.
-
Method Details
-
customize
void customize(org.springframework.test.web.servlet.client.RestTestClient.Builder<?> builder) Customize the givenRestTestClient.Builder.- Parameters:
builder- the builder
-