Interface WebTestClientBuilderCustomizer

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 WebTestClientBuilderCustomizer
A customizer that can be implemented by beans wishing to customize the WebTestClient.Builder to fine-tine its auto-configuration before a WebTestClient is created.
Since:
2.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.springframework.test.web.reactive.server.WebTestClient.Builder builder)
    Customize the given builder.
  • Method Details

    • customize

      void customize(org.springframework.test.web.reactive.server.WebTestClient.Builder builder)
      Customize the given builder.
      Parameters:
      builder - the builder