Interface WebTestClientBuilderCustomizer

All Known Implementing Classes:
SpringBootWebTestClientBuilderCustomizer
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 for a WebTestClient.Builder. Any WebTestClientBuilderCustomizer beans found in the application context will be called to customize the auto-configured WebTestClient.Builder.
Since:
2.2.0
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Customize the given builder.
  • Method Details

    • customize

      void customize(WebTestClient.Builder builder)
      Customize the given builder.
      Parameters:
      builder - the builder