Stéphane Nicoll
6be811119e
Merge branch '6.2.x'
2025-01-13 13:58:16 +01:00
Stéphane Nicoll
172c25fb0e
Upgrade to Micrometer 1.14.3
...
Closes gh-34251
2025-01-13 13:54:47 +01:00
Juergen Hoeller
87da67165a
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java
2025-01-13 13:06:14 +01:00
Juergen Hoeller
8771b9ea21
Defensively acquire singleton lock for FactoryBean type check
...
Closes gh-34247
2025-01-13 13:04:42 +01:00
Juergen Hoeller
ff72652890
Defensively check expected type for qualified bean
...
Closes gh-34187
2025-01-13 13:03:25 +01:00
Stéphane Nicoll
6888137cb6
Merge branch '6.2.x'
2025-01-13 09:12:32 +01:00
Stéphane Nicoll
a1503a59ee
Start building against Reactor 2024.0.2 snapshots
...
See gh-34252
2025-01-13 09:09:19 +01:00
Stéphane Nicoll
5f29df3ac3
Start building against Micrometer 1.14.3 snapshots
...
See gh-34251
2025-01-13 09:08:06 +01:00
Juergen Hoeller
b8c3f03ec0
Merge branch '6.2.x'
2025-01-12 18:13:04 +01:00
Juergen Hoeller
25287205ba
Use ReentrantLock for compilation without synchronization
...
Closes gh-34133
2025-01-12 18:11:47 +01:00
Juergen Hoeller
2bb4df79c3
Ignore SQLServerException with "not supported" message
...
Closes gh-34233
2025-01-12 18:08:54 +01:00
Juergen Hoeller
36fd82f32f
Defensively resolve JarFile from JarURLConnection
...
Closes gh-34216
2025-01-12 18:07:09 +01:00
Juergen Hoeller
0f26f42da7
Defensively check for jar separator in jar entry names
...
Closes gh-34126
2025-01-12 18:05:49 +01:00
Juergen Hoeller
c48fec885c
Avoid caching invalid root directories
...
Closes gh-34111
2025-01-12 18:00:10 +01:00
Stéphane Nicoll
92ede84ea3
Merge branch '6.2.x'
2025-01-11 12:36:54 +01:00
Stéphane Nicoll
7c4351ab0a
Polish
...
See gh-34231
2025-01-11 12:35:42 +01:00
rstoyanchev
8c03d55905
Deprecate HandlerMappingIntrospector
...
Closes gh-34019
2025-01-10 18:50:47 +00:00
Mengqi Xu
dc98a7960a
Remove the catch of NPE because this issue had resolved at Jetty 12.0.2.
...
Closes gh-34235
Signed-off-by: Mengqi Xu <2663479778@qq.com >
2025-01-10 18:12:51 +01:00
Stéphane Nicoll
4d0f1729cb
Restore deprecated constructor for binary compatibility support
...
Code that compiles against the non-deprecated version does not see the
new constructor that has been introduced. As such, there is no way for
them to migrate to it without resorting to reflection.
This commit restores the deprecated constructor so that people can try
the latest version more easily.
Closes gh-34238
2025-01-10 18:07:53 +01:00
Brian Clozel
c85e56aac9
Polishing
...
See gh-34237
2025-01-10 18:06:46 +01:00
Brian Clozel
f2a18e5920
Upgrade to Jetty 12.1.0.alpha0
...
Closes gh-34237
2025-01-10 18:03:10 +01:00
rstoyanchev
2561a60968
Update MockRestServiceServer bufferContent
...
Connect the existing bufferContent option to the new RestClient and
RestTemplate equivalent feature.
See gh-33785
2025-01-10 14:39:24 +00:00
rstoyanchev
39bb751546
Polishing
2025-01-10 14:39:24 +00:00
rstoyanchev
be5542a7a7
Add buffering predicate to RestTemplate
...
See gh-33785
2025-01-10 14:39:24 +00:00
Sébastien Deleuze
ec48c47886
Make URI template variables nullable
...
Closes gh-34221
2025-01-10 11:39:21 +01:00
Brian Clozel
bce7d87151
Merge branch '6.2.x'
2025-01-10 11:22:38 +01:00
rstoyanchev
07455b10f3
Use response decorator to check if error handled
...
Closes gh-34231
2025-01-10 10:51:39 +01:00
rstoyanchev
a72855b2b3
DefaultResponseErrorHandler updates
...
Deprecate handleError(response), and ensure it continues to be invoked
if overridden.
See gh-34231
2025-01-10 10:51:11 +01:00
rstoyanchev
cdddf09c20
Polishing in DefaultResponseErrorHandler
...
See gh-34231
2025-01-10 10:50:41 +01:00
Sébastien Deleuze
87f1961c3e
Polishing
2025-01-09 17:53:28 +01:00
Sébastien Deleuze
52f325db82
Fix javadoc Gradle task
...
This commit refines the javadoc options and removes aspectj broken link.
See gh-34220
2025-01-09 17:28:09 +01:00
Sébastien Deleuze
262a3130d4
Upgrade SDK env to Java 23.0.1
...
See gh-34220
2025-01-09 16:08:44 +01:00
Sébastien Deleuze
df1ed0a4dc
Refine dependencies to fix compilation with Java 23
...
Closes gh-34220
2025-01-09 16:01:39 +01:00
Sébastien Deleuze
483985b173
Suppress serialization warnings
...
This commit suppresses serialization warnings triggered by the upgrade
of javac from 17 to 23.
See gh-34220
2025-01-09 16:01:30 +01:00
Sébastien Deleuze
b85a76f983
Configure the Gradle toolchain to use Java 23
...
In order to be able to fix gh-34140 which requires using at least a
Java 22 compiler, this commit intends to change the configuration of
the Gradle toolchain to use Java 23, while setting the Java release to
Java 17 (or other versions when using MRJARs) when relevant in order to
keep the current Java 17 baseline.
See gh-34220
2025-01-09 15:59:34 +01:00
Stéphane Nicoll
63770ba516
Remove Java samples from Kotlin samples compilation
2025-01-09 11:36:48 +01:00
Sébastien Deleuze
f55c234eb4
Provide guidelines for NullAway
...
Closes gh-34202
2025-01-08 17:34:24 +01:00
Sébastien Deleuze
a73a819c82
Refine @SuppressWarnings("NullAway")
...
See gh-28797
2025-01-08 17:34:24 +01:00
rstoyanchev
82941caa00
Polishing in DefaultRestClientBuilder
...
Align order of fields with order of methods on Builder.
2025-01-08 15:52:40 +00:00
rstoyanchev
4b9be5aaf8
Add setBody with byte[] to StreamingHttpOutputMessage
...
Sometimes the content to write is already buffered, but requires boilerplate
to write through a Body callback.
See gh-33785
2025-01-08 15:52:40 +00:00
rstoyanchev
819a13f22d
Apply predicate to BufferingClientHttpRequestFactory
...
The bufferingPredicate configured in RestClient.Builder can and should also
be used in the (existing) shouldBuffer protected method in
BufferingClientHttpRequestFactory since the factory is no longer intended
for direct use, and in any case the setting should apply in all cases
including when there are no interceptors.
See gh-33785
2025-01-08 15:52:40 +00:00
Brian Clozel
808d1b6413
Merge branch '6.2.x'
2025-01-08 16:34:46 +01:00
xumengqi
53b3b934fc
BindException declared but not handled by ExceptionHandler
...
Closes gh-34214
Signed-off-by: Mengqi Xu <2663479778@qq.com >
2025-01-08 16:29:12 +01:00
rstoyanchev
27c4f0e29d
Built-in buffering support in RestClient
...
Closes gh-33785
2025-01-08 13:46:15 +00:00
rstoyanchev
6a0c5ddf68
Refactoring in AbstractBufferingClientHttpRequest
...
Extract a protected method for subclasses to use to perform the
actual (end-of-chain) request execution.
See gh-33785
2025-01-08 13:46:15 +00:00
rstoyanchev
b9efa91ecc
Polishing in client tests
2025-01-08 13:46:15 +00:00
rstoyanchev
3f7d3cbbd3
Add chaining methods to ClientHttpRequestInterceptor
...
See gh-34169
2025-01-08 13:46:15 +00:00
Brian Clozel
c970a6052a
Merge branch '6.2.x'
2025-01-08 14:40:41 +01:00
Brian Clozel
9173e13f74
Document that http.client.requests measure the entire HTTP exchange
...
Closes gh-34201
2025-01-08 14:39:50 +01:00
Brian Clozel
396f04a3b9
Remove outdated TODO task
2025-01-08 13:49:16 +01:00