File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
spring-boot-restclient/src/main/java/org/springframework/boot/restclient/autoconfigure/service
spring-boot-webclient/src/main/java/org/springframework/boot/webclient/autoconfigure/service Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 3232import org .springframework .context .annotation .Conditional ;
3333import org .springframework .web .client .ApiVersionFormatter ;
3434import org .springframework .web .client .ApiVersionInserter ;
35+ import org .springframework .web .client .RestClient ;
3536import org .springframework .web .client .support .RestClientAdapter ;
3637import org .springframework .web .service .registry .HttpServiceProxyRegistry ;
37- import org .springframework .web .service .registry .ImportHttpServices ;
3838
3939/**
40- * AutoConfiguration for Spring HTTP Service clients.
41- * <p>
42- * This will result in the creation of blocking HTTP Service client beans defined by
43- * {@link ImportHttpServices @ImportHttpServices} annotations.
40+ * AutoConfiguration for Spring HTTP Service clients backed by {@link RestClient}.
4441 *
4542 * @author Olga Maciaszek-Sharma
4643 * @author Rossen Stoyanchev
@@ -57,9 +54,6 @@ public final class HttpServiceClientAutoConfiguration implements BeanClassLoader
5754 @ SuppressWarnings ("NullAway.Init" )
5855 private ClassLoader beanClassLoader ;
5956
60- HttpServiceClientAutoConfiguration () {
61- }
62-
6357 @ Override
6458 public void setBeanClassLoader (ClassLoader classLoader ) {
6559 this .beanClassLoader = classLoader ;
Original file line number Diff line number Diff line change 3131import org .springframework .context .annotation .Bean ;
3232import org .springframework .web .client .ApiVersionFormatter ;
3333import org .springframework .web .client .ApiVersionInserter ;
34+ import org .springframework .web .reactive .function .client .WebClient ;
3435import org .springframework .web .reactive .function .client .support .WebClientAdapter ;
3536import org .springframework .web .service .registry .HttpServiceProxyRegistry ;
36- import org .springframework .web .service .registry .ImportHttpServices ;
3737
3838/**
39- * AutoConfiguration for Spring reactive HTTP Service Clients.
40- * <p>
41- * This will result in the creation of reactive HTTP Service client beans defined by
42- * {@link ImportHttpServices @ImportHttpServices} annotations.
39+ * AutoConfiguration for Spring reactive HTTP Service Clients backed by {@link WebClient}.
4340 *
4441 * @author Olga Maciaszek-Sharma
4542 * @author Rossen Stoyanchev
@@ -55,9 +52,6 @@ public final class ReactiveHttpServiceClientAutoConfiguration implements BeanCla
5552 @ SuppressWarnings ("NullAway.Init" )
5653 private ClassLoader beanClassLoader ;
5754
58- ReactiveHttpServiceClientAutoConfiguration () {
59- }
60-
6155 @ Override
6256 public void setBeanClassLoader (ClassLoader classLoader ) {
6357 this .beanClassLoader = classLoader ;
You can’t perform that action at this time.
0 commit comments