File tree 1 file changed +3
-3
lines changed
spring-web/src/main/java/org/springframework/http/client
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -175,7 +175,7 @@ public void setReadTimeout(Duration readTimeout) {
175
175
176
176
/**
177
177
* Set the timeout for the HTTP exchange in milliseconds.
178
- * <p>Default is 30 seconds.
178
+ * <p>Default is 5 seconds.
179
179
*/
180
180
public void setExchangeTimeout (long exchangeTimeout ) {
181
181
Assert .isTrue (exchangeTimeout > 0 , "Timeout must be a positive value" );
@@ -184,7 +184,7 @@ public void setExchangeTimeout(long exchangeTimeout) {
184
184
185
185
/**
186
186
* Set the timeout for the HTTP exchange.
187
- * <p>Default is 30 seconds.
187
+ * <p>Default is 5 seconds.
188
188
*/
189
189
public void setExchangeTimeout (Duration exchangeTimeout ) {
190
190
Assert .notNull (exchangeTimeout , "ExchangeTimeout must not be null" );
You can’t perform that action at this time.
0 commit comments