Class RestClientAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration

@AutoConfiguration(after={HttpClientAutoConfiguration.class,HttpMessageConvertersAutoConfiguration.class,SslAutoConfiguration.class}) @ConditionalOnClass(org.springframework.web.client.RestClient.class) @Conditional(org.springframework.boot.autoconfigure.web.client.NotReactiveWebApplicationCondition.class) public class RestClientAutoConfiguration extends Object
Auto-configuration for RestClient.

This will produce a RestClient.Builder bean with the prototype scope, meaning each injection point will receive a newly cloned instance of the builder.

Since:
3.2.0
Author:
Arjen Poutsma, Moritz Halbritter
  • Constructor Details

    • RestClientAutoConfiguration

      public RestClientAutoConfiguration()