Class SpringBootWebTestClientBuilderCustomizer

java.lang.Object
org.springframework.boot.webtestclient.autoconfigure.SpringBootWebTestClientBuilderCustomizer
All Implemented Interfaces:
WebTestClientBuilderCustomizer

public class SpringBootWebTestClientBuilderCustomizer extends Object implements WebTestClientBuilderCustomizer
WebTestClientBuilderCustomizer for a typical Spring Boot application. Usually applied automatically via @AutoConfigureWebTestClient, but may also be used directly.
Since:
4.0.0
  • Constructor Details

    • SpringBootWebTestClientBuilderCustomizer

      public SpringBootWebTestClientBuilderCustomizer(Collection<org.springframework.boot.http.codec.CodecCustomizer> codecCustomizers)
      Create a new SpringBootWebTestClientBuilderCustomizer that will configure the builder's codecs using the given codecCustomizers.
      Parameters:
      codecCustomizers - the codec customizers
  • Method Details