接口 WebTestClientBuilderCustomizer

所有已知实现类:
SpringBootWebTestClientBuilderCustomizer
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@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.
从以下版本开始:
2.2.0
作者:
Andy Wilkinson
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Customize the given builder.
  • 方法详细资料

    • customize

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