Commit 02b2d03
committed
Rationalize HTTP client configuration properties
Simplify HTTP client configuration properties by sharing common
settings for both blocking and reactive clients.
The `ClientHttpRequestFactorySettings` and `ClientHttpConnectorSettings`
have been merged to a single `HttpClientSettings` class. Properties
to configure common settings are available under:
`spring.http.clients`
Blocking and reactive settings have been moved to
`spring.http.clients.blocking` and `spring.http.clients.reactive`. With
currently only the factory/connector being configurable.
HTTP Service Client properties have also been rationalized under a
`spring.http.serviceclient.<group-name>`. Support for properties that
apply to all service clients and all Rest/Web Clients have been removed.
Support for `ApiVerionInserter` beans has also been removed in favor of
configuring the service group or builders directly.
Closes gh-473981 parent f4e8cac commit 02b2d03
File tree
108 files changed
+1617
-2902
lines changed- documentation/spring-boot-docs/src
- docs/antora/modules/reference/pages/io
- main
- java/org/springframework/boot/docs/io
- restclient/restclient/ssl/settings
- webservices/template
- kotlin/org/springframework/boot/docs/io
- restclient/restclient/ssl/settings
- webservices/template
- module
- spring-boot-http-client/src
- main
- java/org/springframework/boot/http/client
- autoconfigure
- blocking
- reactive
- service
- reactive
- resources/META-INF
- spring
- test/java/org/springframework/boot/http/client
- autoconfigure
- blocking
- reactive
- service
- reactive
- spring-boot-restclient
- src
- main/java/org/springframework/boot/restclient
- autoconfigure
- service
- test/java/org/springframework/boot/restclient
- autoconfigure
- service
- spring-boot-resttestclient/src
- main/java/org/springframework/boot/testrestclient
- test/java/org/springframework/boot/restclient/test
- spring-boot-webclient
- src
- main/java/org/springframework/boot/webclient/autoconfigure
- service
- test/java/org/springframework/boot/webclient/autoconfigure
- service
- spring-boot-webservices/src
- main/java/org/springframework/boot/webservices
- autoconfigure/client
- client
- test/java/org/springframework/boot/webservices/client
- smoke-test
- spring-boot-smoke-test-session-jdbc/src/test/java/smoketest/session
- spring-boot-smoke-test-web-groovy-templates/src/test/java/smoketest/groovytemplates
- spring-boot-smoke-test-web-method-security/src/test/java/smoketest/security/method
- spring-boot-smoke-test-web-thymeleaf/src/test/java/smoketest/web/thymeleaf
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
108 files changed
+1617
-2902
lines changedLines changed: 57 additions & 80 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 70 | + | |
81 | 71 | | |
82 | 72 | | |
83 | 73 | | |
| |||
88 | 78 | | |
89 | 79 | | |
90 | 80 | | |
91 | | - | |
92 | 81 | | |
93 | 82 | | |
94 | 83 | | |
| |||
246 | 235 | | |
247 | 236 | | |
248 | 237 | | |
249 | | - | |
| 238 | + | |
250 | 239 | | |
251 | 240 | | |
252 | 241 | | |
253 | 242 | | |
254 | 243 | | |
255 | 244 | | |
256 | | - | |
257 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
258 | 248 | | |
259 | 249 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
| 250 | + | |
272 | 251 | | |
273 | 252 | | |
274 | 253 | | |
| |||
286 | 265 | | |
287 | 266 | | |
288 | 267 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 268 | | |
307 | 269 | | |
308 | 270 | | |
| |||
363 | 325 | | |
364 | 326 | | |
365 | 327 | | |
366 | | - | |
367 | | - | |
368 | | - | |
| 328 | + | |
369 | 329 | | |
370 | 330 | | |
371 | 331 | | |
372 | 332 | | |
373 | 333 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
392 | 337 | | |
393 | 338 | | |
394 | 339 | | |
| |||
408 | 353 | | |
409 | 354 | | |
410 | 355 | | |
411 | | - | |
| 356 | + | |
412 | 357 | | |
413 | 358 | | |
414 | 359 | | |
| |||
419 | 364 | | |
420 | 365 | | |
421 | 366 | | |
422 | | - | |
423 | | - | |
| 367 | + | |
424 | 368 | | |
425 | 369 | | |
426 | 370 | | |
427 | | - | |
428 | | - | |
429 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
430 | 376 | | |
431 | 377 | | |
432 | 378 | | |
433 | 379 | | |
434 | 380 | | |
435 | | - | |
| 381 | + | |
436 | 382 | | |
437 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
438 | 386 | | |
439 | | - | |
440 | | - | |
441 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
442 | 391 | | |
443 | 392 | | |
444 | 393 | | |
| |||
466 | 415 | | |
467 | 416 | | |
468 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 69 | + | |
| 70 | + | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 75 | + | |
85 | 76 | | |
86 | 77 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments