diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java index 9555a1c67a8d..41fb5a3fc941 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java @@ -107,8 +107,9 @@ public void addGlobalResourcesConsumer(Consumer consumer) { * Use this when you don't want to participate in global resources and * you want to customize the creation of the managed {@code ConnectionProvider}. *

By default, {@code ConnectionProvider.elastic("http")} is used. - *

Note that this option is ignored if {@code userGlobalResources=false} or - * {@link #setConnectionProvider(ConnectionProvider)} is set. + *

Note that this supplier is ignored if {@link #isUseGlobalResources()} + * is {@code true} or once the {@link #setConnectionProvider(ConnectionProvider) ConnectionProvider} + * is set. * @param supplier the supplier to use */ public void setConnectionProviderSupplier(Supplier supplier) { @@ -136,8 +137,9 @@ public ConnectionProvider getConnectionProvider() { * Use this when you don't want to participate in global resources and * you want to customize the creation of the managed {@code LoopResources}. *

By default, {@code LoopResources.create("webflux-http")} is used. - *

Note that this option is ignored if {@code userGlobalResources=false} or - * {@link #setLoopResources(LoopResources)} is set. + *

Note that this supplier is ignored if {@link #isUseGlobalResources()} + * is {@code true} or once the {@link #setLoopResources(LoopResources) LoopResources} + * is set. * @param supplier the supplier to use */ public void setLoopResourcesSupplier(Supplier supplier) {