Andy Wilkinson
f4e05c91c7
Use converter beans in preference to ObjectToObjectConverter
...
Previously, with the converter beans in a conversion service that
appears after the bean factory's conversion service, they would not
be called for a conversion that could be handled by the
ObjectToObjectConverter in the bean factory's conversion service.
This commit creates a new FormattingConversionService that is empty
except for the converter beans and places it first in the list.
It's followed by the bean factory's conversion service. The shared
application conversion service is added to the end of the list to
pick up any conversions that the previous two services could not
handle. This should maintain backwards compatibility with the
previous arrangement where the converter beans were added to an
application conversion service that went after the bean factory's
conversion service.
Fixes gh-34631
3 years ago
Jonatan Ivanov
6041fe9b7a
Merge pull request #36270 from spencergibb
...
* pr/36270:
Skip int conversion in ClientHttpRequestFactories
Closes gh-36270
3 years ago
Spencer Gibb
62674de472
Skip int conversion in ClientHttpRequestFactories
...
@poutsma added `JdkClientHttpRequestFactory.setReadTimeout(Duration)`
so the conversion to and from int is no longer needed.
See gh-36270
3 years ago
Andy Wilkinson
a460f7474f
Merge branch '3.1.x'
...
Closes gh-36269
3 years ago
Andy Wilkinson
b7099094b9
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36268
3 years ago
Andy Wilkinson
4d70b83e80
Improve javadoc of ClientHttpRequestFactories
...
Closes gh-36267
3 years ago
Andy Wilkinson
1191282004
Merge pull request #36118 from poutsma
...
* gh-36118:
Polish "Support JDK HttpClient in ClientHttpRequestFactories"
Support JDK HttpClient in ClientHttpRequestFactories
Closes gh-36118
3 years ago
Andy Wilkinson
bb2c4cc742
Polish "Support JDK HttpClient in ClientHttpRequestFactories"
...
See gh-36118
3 years ago
Arjen Poutsma
3bbfee5e93
Support JDK HttpClient in ClientHttpRequestFactories
...
See gh-36118
3 years ago
Andy Wilkinson
46aeeab148
Merge branch '3.1.x'
...
Closes gh-36244
3 years ago
Andy Wilkinson
ea91b2f861
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36247
3 years ago
Andy Wilkinson
7ae030adad
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36245
3 years ago
Andy Wilkinson
76cd102aa6
Upgrade CI images to ubuntu:jammy-20230624
...
Closes gh-36246
3 years ago
Andy Wilkinson
3b90919313
Polish RestClient auto-config and tests
...
For consistency, replace webClient and WebClient with restClient and
RestClient. This also address a bean name clash between
RestClientAutoConfiguration's RestClient.Builder bean and
WebClientAutoConfiguration's WebClient.Builder bean that were both
previously named webClientBuilder.
3 years ago
Andy Wilkinson
3a07f4df80
Merge branch '3.1.x'
...
Closes gh-36260
3 years ago
Andy Wilkinson
e1459c922e
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36259
3 years ago
Andy Wilkinson
f63e84c25f
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36258
3 years ago
Andy Wilkinson
4e4da9fce0
Disable parallel execution for PR builds on GitHub Actions
...
Closes gh-36257
3 years ago
Andy Wilkinson
486879e2ef
Merge pull request #36249 from spencergibb
...
* gh-36249:
Add RestClientAutoConfiguration to AutoConfiguration.imports
Closes gh-36249
3 years ago
Spencer Gibb
89880a773c
Add RestClientAutoConfiguration to AutoConfiguration.imports
...
See gh-36249
3 years ago
Andy Wilkinson
7088d0e04a
Merge branch '3.1.x'
...
Closes gh-36256
3 years ago
Andy Wilkinson
64eaca4db3
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36255
3 years ago
Andy Wilkinson
81510441aa
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36254
3 years ago
Andy Wilkinson
142a3983a0
Check that AutoConfiguration classes are listed in imports file
...
Closes gh-36253
3 years ago
Phillip Webb
f978051127
Merge pull request #36213 from poutsma
...
* pr/36213:
Add RestClient SSL support
Overhaul reference documentation for RestClient
Add RestClient HttpMessageConverters support
Polish 'Add initial support for RestClient'
Add initial support for RestClient
Closes gh-36213
3 years ago
Phillip Webb
cfdc173e34
Add RestClient SSL support
...
Add `RestClientSsl` support class to help apply an `SslBundle` to a
`RestClient.Builder`.
See gh-36213
3 years ago
Phillip Webb
7c1b168ed6
Overhaul reference documentation for RestClient
...
Reorder "Calling REST services" documentation and add a new section
covering `RestClient`.
See gh-36213
3 years ago
Phillip Webb
5e01c66552
Add RestClient HttpMessageConverters support
...
Update `RestClientAutoConfiguration` to apply `HttpMessageConverters`
configuration.
See gh-36213
3 years ago
Phillip Webb
2d2f050262
Polish 'Add initial support for RestClient'
...
See gh-36213
3 years ago
Arjen Poutsma
a1a5acf128
Add initial support for RestClient
...
Introduce initial support for Spring Framework's `RestClient`, in the
form of a `RestClientCustomizer` and `RestClientAutoConfiguration`.
See gh-36213
3 years ago
Phillip Webb
8b3070e027
Merge branch '3.1.x'
3 years ago
Phillip Webb
034803ee2f
Polish
3 years ago
Andy Wilkinson
fc8a8d363f
Polish
3 years ago
Andy Wilkinson
83d5d89efc
Merge pull request #35874 from romangr
...
* gh-35874:
Polish "Support custom token validators for OAuth2"
Support custom token validators for OAuth2
Closes gh-35874
3 years ago
Andy Wilkinson
4feaa28fd1
Polish "Support custom token validators for OAuth2"
...
See gh-35874
3 years ago
Roman Golovin
7500dab321
Support custom token validators for OAuth2
...
See gh-35874
3 years ago
Andy Wilkinson
ce8253ea95
Merge branch '3.1.x'
...
Closes gh-36238
3 years ago
Andy Wilkinson
c9f8d92656
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36237
3 years ago
Andy Wilkinson
e17aff09cc
Merge pull request #36167 from izeye
...
* gh-36167:
Polish "Use Stream.toList()"
Use Stream.toList()
Closes gh-36167
3 years ago
Andy Wilkinson
0e815d2342
Polish "Use Stream.toList()"
...
See gh-36167
3 years ago
Johnny Lim
0fa58c04e7
Use Stream.toList()
...
See gh-36167
3 years ago
Andy Wilkinson
12cd753652
Merge branch '3.1.x'
...
Closes gh-36236
3 years ago
Andy Wilkinson
20cfc3c9d0
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36235
3 years ago
Andy Wilkinson
bdead8d0e3
Merge pull request #36168 from eddumelendez
...
* gh-36168:
Use spring-amqp-bom
Closes gh-36168
3 years ago
Eddú Meléndez
f57e6a1fa5
Use spring-amqp-bom
...
See gh-36168
3 years ago
Andy Wilkinson
62eb3d3051
Merge branch '3.1.x'
...
Closes gh-36234
3 years ago
Andy Wilkinson
0bfc3c3872
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36233
3 years ago
Andy Wilkinson
e28aa19ec5
Merge pull request #36225 from quaff
...
* gh-36225:
Polish formatting in "Running Spring Batch Jobs on Startup"
Closes gh-36225
3 years ago
Yanming Zhou
9439494923
Polish formatting in "Running Spring Batch Jobs on Startup"
...
See gh-36225
3 years ago
Andy Wilkinson
2de6447a79
Merge branch '3.1.x'
...
Closes gh-36232
3 years ago