org.springframework.boot.test.autoconfigure.web.client

Annotation Type AutoConfigureWebClient

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      boolean registerRestTemplate
      If a RestTemplate bean should be registered.
    • Element Detail

      • registerRestTemplate

        public abstract boolean registerRestTemplate
        If a RestTemplate bean should be registered. Defaults to false with the assumption that the RestTemplateBuilder will be used.
        Returns:
        if a RestTemplate bean should be added.
        Default:
        false