File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-web/src/main/java/org/springframework/http/client Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2023 the original author or authors.
2+ * Copyright 2002-2024 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -175,7 +175,7 @@ public void setReadTimeout(Duration readTimeout) {
175175
176176 /**
177177 * Set the timeout for the HTTP exchange in milliseconds.
178- * <p>Default is 30 seconds.
178+ * <p>Default is 5 seconds.
179179 */
180180 public void setExchangeTimeout (long exchangeTimeout ) {
181181 Assert .isTrue (exchangeTimeout > 0 , "Timeout must be a positive value" );
@@ -184,7 +184,7 @@ public void setExchangeTimeout(long exchangeTimeout) {
184184
185185 /**
186186 * Set the timeout for the HTTP exchange.
187- * <p>Default is 30 seconds.
187+ * <p>Default is 5 seconds.
188188 */
189189 public void setExchangeTimeout (Duration exchangeTimeout ) {
190190 Assert .notNull (exchangeTimeout , "ExchangeTimeout must not be null" );
You can’t perform that action at this time.
0 commit comments