Skip to content

Commit 73fd913

Browse files
izeyesdeleuze
authored andcommitted
Fix Javadoc in ReactorNetty2ResourceFactory
See gh-33338 Closes gh-33735
1 parent 5e28a25 commit 73fd913

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java

+6-4
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ public void addGlobalResourcesConsumer(Consumer<HttpResources> consumer) {
107107
* Use this when you don't want to participate in global resources and
108108
* you want to customize the creation of the managed {@code ConnectionProvider}.
109109
* <p>By default, {@code ConnectionProvider.elastic("http")} is used.
110-
* <p>Note that this option is ignored if {@code userGlobalResources=false} or
111-
* {@link #setConnectionProvider(ConnectionProvider)} is set.
110+
* <p>Note that this supplier is ignored if {@link #isUseGlobalResources()}
111+
* is {@code true} or once the {@link #setConnectionProvider(ConnectionProvider) ConnectionProvider}
112+
* is set.
112113
* @param supplier the supplier to use
113114
*/
114115
public void setConnectionProviderSupplier(Supplier<ConnectionProvider> supplier) {
@@ -136,8 +137,9 @@ public ConnectionProvider getConnectionProvider() {
136137
* Use this when you don't want to participate in global resources and
137138
* you want to customize the creation of the managed {@code LoopResources}.
138139
* <p>By default, {@code LoopResources.create("webflux-http")} is used.
139-
* <p>Note that this option is ignored if {@code userGlobalResources=false} or
140-
* {@link #setLoopResources(LoopResources)} is set.
140+
* <p>Note that this supplier is ignored if {@link #isUseGlobalResources()}
141+
* is {@code true} or once the {@link #setLoopResources(LoopResources) LoopResources}
142+
* is set.
141143
* @param supplier the supplier to use
142144
*/
143145
public void setLoopResourcesSupplier(Supplier<LoopResources> supplier) {

0 commit comments

Comments
 (0)