Mahmoud Ben Hassine
3fb4a75ae4
Introduce minimal retry functionality as a core framework feature
...
This commit introduces a minimal core retry feature. It is inspired
by Spring Retry, but redesigned and trimmed to the bare minimum to
cover most cases.
Closes gh-34716
2025-06-05 14:56:25 +02:00
Violeta Georgieva
aefdda3490
Upgrade to Netty v4.2.2.Final and Reactor Netty 2025.0.0-SNAPSHOT
...
Closes gh-34996
See gh-34997
Signed-off-by: Violeta Georgieva <696661+violetagg@users.noreply.github.com >
2025-06-05 14:14:06 +02:00
Sébastien Deleuze
93ba10fa1a
Merge branch '6.2.x'
2025-06-05 14:08:36 +02:00
Sébastien Deleuze
4d09eb569b
Refine RequestResponseBodyMethodProcessorKotlinTests
...
Improve read tests and fix copyright.
See gh-34992
2025-06-05 14:07:27 +02:00
Sébastien Deleuze
b89c48e714
Merge branch '6.2.x'
2025-06-05 12:12:23 +02:00
Sébastien Deleuze
a439e9030f
Fix collection support in AbstractKotlinSerializationHttpMessageConverter
...
AbstractKotlinSerializationHttpMessageConverter#getSupportedMediaTypes(Class<?>)
currently invokes transitively supports(Class<?>) which always return false
with generic types.
This commit adds an override that just invokes getSupportedMediaTypes().
Closes gh-34992
2025-06-05 12:02:22 +02:00
Brian Clozel
2d5d988ad4
Polishing contribution
...
Closes gh-34645
2025-06-05 11:34:34 +02:00
Kamil Doroszkiewicz
c1839938ea
Add support for "application/*+x-protobuf" media type
...
See gh-34645
Signed-off-by: Kamil Doroszkiewicz <kamil.doroszkiewicz@gmail.com >
2025-06-05 11:34:34 +02:00
Brian Clozel
79a793e44c
Merge branch '6.2.x'
2025-06-05 10:58:57 +02:00
James Yuzawa
aa5c0dcd72
Add caching headers to unmodified static resources
...
per https://www.rfc-editor.org/rfc/rfc7232#section-4.1
The server generating a 304 response MUST generate any of the
following header fields that would have been sent in a 200 (OK)
response to the same request: Cache-Control, Content-Location, Date,
ETag, Expires, and Vary.
Closes gh-34614
Signed-off-by: James Yuzawa <jtyuzawa@gmail.com >
2025-06-05 10:58:24 +02:00
Brian Clozel
5fbb81de10
Fix missing "since" attributes for Deprecated code
...
See gh-34989
2025-06-05 09:25:10 +02:00
Brian Clozel
1e9179a87c
Enable SpringDeprecatedCheck Checkstyle rule
...
This rules checks that `@Deprecated` annotations have a "since"
attribute.
Closes gh-34989
2025-06-05 09:25:03 +02:00
Brian Clozel
fa6e32940c
Merge branch '6.2.x'
2025-06-04 20:23:39 +02:00
Brian Clozel
4a46d957f3
Fix out of bounds exception for PathPattern#combine
...
Prior to this commit, combining the "/*" and "/x/y" path patterns
would result in a `StringIndexOutOfBoundsException`.
This commit fixes this problem and revisits the implementation for
better consistency:
* "/*" + "/x/y" is now "/x/y"
* "/x/*.html" + "/y/file.*" is now rejected because they don't share the
same prefix.
This change also adds the relevant Javadoc to the `PathPattern#combine`
method.
Fixes gh-34986
2025-06-04 20:18:33 +02:00
Sam Brannen
7e035f5c50
Polish ImportTests
2025-06-04 17:00:10 +02:00
Sam Brannen
4581324038
Polish support for @Import on interfaces
...
- Update @Import Javadoc
- Move tests from ImportSelectorTests to ImportTests
See gh-34820
2025-06-04 16:59:46 +02:00
Daeho Kwon
a4d5800a6c
Support @Import on interfaces
...
See gh-34805
Closes gh-34820
Signed-off-by: Daeho Kwon <trewq231@naver.com >
2025-06-04 16:47:50 +02:00
Sam Brannen
686705140e
Polish Javadoc for @Import
2025-06-04 16:47:50 +02:00
Sam Brannen
af4fc0118c
Update copyright header
2025-06-04 14:53:31 +02:00
ChanHyeongLee
4f5e2eefe9
Remove thenReturn that fetches unused values
...
Closes gh-34883
Signed-off-by: ChanHyeongLee <cksgud410@gmail.com >
2025-06-04 13:46:22 +01:00
rstoyanchev
263af04508
Polishing contribution
...
Closes gh-34877
2025-06-04 13:46:22 +01:00
kssumin
8b9ae2b11c
Update Jetty on WebFlux bootstrap in reference docs
...
Replace deprecated JettyHttpHandlerAdapter with JettyCoreHttpHandlerAdapter
Update example to work with Jetty 12+
Add note about the deprecation
See gh-34877
Signed-off-by: kssumin <201566@jnu.ac.kr >
2025-06-04 13:46:22 +01:00
rstoyanchev
230540b6da
Polishing contribution
...
Closes gh-34942
2025-06-04 13:46:22 +01:00
Yanming Zhou
f9fa7cc93b
Add missing "since" in @Deprecated
...
See gh-34942
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-06-04 13:46:22 +01:00
Sam Brannen
b7dfd68d89
Merge branch '6.2.x'
2025-06-04 14:11:07 +02:00
Sam Brannen
4df93a825b
Update copyright headers and fix test method name
2025-06-04 11:28:55 +02:00
rstoyanchev
b699b65b40
Merge branch '6.2.x'
2025-06-03 19:11:52 +01:00
rstoyanchev
be17315f63
Add mention of CompletionStage in "Async Requests"
...
Closes gh-34991
2025-06-03 19:10:03 +01:00
DongNyoung Lee
31903a9d92
Fix typo in MockClientHttpRequest Javadoc
...
Closes gh-34856
Signed-off-by: DongNyoung Lee <121621378+Dongnyoung@users.noreply.github.com >
2025-06-03 19:05:32 +01:00
rstoyanchev
06f69915cb
Polishing contribution
...
Closes gh-34885
2025-06-03 19:04:17 +01:00
addoDev
d9459bdc74
Improve mvc-ann-async.adoc
...
Added section for WebAsyncTask return type along with java and
kotlin example code
See gh-34885
Signed-off-by: addoDev <adityaraochokkadi@gmail.com >
2025-06-03 18:57:40 +01:00
Tran Ngoc Nhan
3f0892b42c
Fix typos
...
Closes gh-34876
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-06-03 18:55:15 +01:00
rstoyanchev
72b42bbd55
Polishing in RestClientAdapterTests
2025-06-03 18:51:57 +01:00
Patrick Strawderman
9501bff1f0
Use HexFormat in CharacterEditor
...
Use HexFormat to perform conversion for unicode-prefixed Strings in CharacterEditor.
Closes gh-34798
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com >
2025-06-03 18:20:19 +02:00
Patrick Strawderman
542eb6f305
Use HexFormat in ContentDisposition
...
Closes gh-34797
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com >
2025-06-03 18:19:47 +02:00
Brian Clozel
7c82a62bfb
Merge branch '6.2.x'
2025-06-03 18:07:22 +02:00
Patrick Strawderman
182d654fa8
Add optimized DataBufferInputStream overrides
...
Add optimized DataBufferInputStream overrides for readNBytes, skip, and transferTo; all of them
allocate byte buffers which we can either avoid (in the case of skip) or size more precisely since
the number of remaining bytes is known.
Closes gh-34799
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com >
2025-06-03 18:06:43 +02:00
Johnny Lim
bbae625850
Add Javadoc since for gh-34745
...
Closes gh-34940
Signed-off-by: Johnny Lim <izeye@naver.com >
2025-06-03 18:06:24 +02:00
Sam Brannen
941b791669
Polish null-safety documentation
2025-06-03 13:44:35 +02:00
Sam Brannen
9782dfb620
Fix nullability @Contract for SupplierUtils.resolve(Supplier)
...
Closes gh-34987
2025-06-03 13:15:58 +02:00
Sam Brannen
b0a06b8607
Merge branch '6.2.x'
2025-06-03 13:07:56 +02:00
Sam Brannen
f376d1b525
Remove @Contract declaration for CodeFlow.isIntegerForNumericOp()
...
Since the Number parameter is not @Nullable, the @Contract declaration
is unnecessary.
Closes gh-34985
2025-06-03 12:58:45 +02:00
Sébastien Deleuze
c41147aa35
Introduce JacksonJsonMessageConverter#getObjectMapper
...
In order to give access to the underlying ObjectMapper to
classes extending JacksonJsonMessageConverter.
Closes gh-34963
2025-06-03 09:58:02 +02:00
Sébastien Deleuze
ebf8d4fb1c
Use Gradle nullability plugin 0.0.1
...
This commit replaces manual Gradle configuration of Error Prone
and NullAway by
https://github.com/spring-gradle-plugins/nullability-plugin .
Closes gh-34983
2025-06-03 09:42:29 +02:00
Sébastien Deleuze
0b14d676cc
Refine null-safety documentation terms
...
Closes gh-34982
2025-06-02 23:42:33 +02:00
Sam Brannen
45ba4ace39
Merge branch '6.2.x'
2025-06-02 17:00:50 +02:00
Sam Brannen
707b7698ce
Consistent @Contract expression formatting
2025-06-02 17:00:28 +02:00
Sam Brannen
0d39bb828a
Merge branch '6.2.x'
2025-06-02 16:30:57 +02:00
Johannes Jank
5b9cb8291e
Fix exception name in ModelAttribute docs
...
Closes gh-34980
Signed-off-by: Johannes Jank <johannes.wengert@googlemail.com >
2025-06-02 16:30:16 +02:00
Brian Clozel
d75f20f65f
Merge branch '6.2.x'
2025-06-02 15:48:19 +02:00