接口 WebTestClientConfigurer


public interface WebTestClientConfigurer
Contract to encapsulate customizations to a WebTestClient.Builder. Typically used by frameworks that wish to provide a shortcut for common initialization.
从以下版本开始:
4.0
作者:
Rossen Stoyanchev, Harry Yang
另请参阅:
  • 方法详细资料

    • afterConfigurerAdded

      void afterConfigurerAdded(WebTestClient.Builder builder, @Nullable cn.taketoday.http.client.reactive.ClientHttpConnector connector)
      Use methods on WebTestClient.Builder to modify test client settings. For a mock WebFlux server, For a MockMvc server, mutate the MockMvcHttpConnector and set it on WebTestClient.Builder.
      参数:
      builder - the WebTestClient builder for test client changes
      connector - the connector in use