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.

@FunctionalInterface public interface RestTestClientBuilderCustomizer
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 Type
    Method
    Description
    void
    customize(org.springframework.test.web.servlet.client.RestTestClient.Builder<?> builder)
    Customize the given RestTestClient.Builder.
  • Method Details

    • customize

      void customize(org.springframework.test.web.servlet.client.RestTestClient.Builder<?> builder)
      Customize the given RestTestClient.Builder.
      Parameters:
      builder - the builder