Brian Clozel
e8f71ab5ef
Simplify HttpHeaders constructor
...
As of gh-33913, `HttpHeaders` does not implement the `MultiValueMap`
contract anymore, so we can take this opportunity to simplify one of the
constructors to not consider that the argument could be an `HttpHeaders`
instance. This case is already covered by the other constructor.
See gh-33913
1 year ago
Bryce J. Fisher
2a846c9594
Add HttpHeaders.copyOf factory method
...
Prior to this commit, the `HttpHeaders` class would provide constructor
variants where the instances are are backed by the existing headers
collection given as a parameter.
While such constructors are clearly documented and meant for internal
usage, there are cases where developers would like to copy the data from
an existing headers instance without being backed by the same collection
instance and thus, being mutated from some place else.
This commit introduces new factory methods `HttpHeaders.copyOf` for this
purpose. While this name aligns with some of the Java collections
factory methods, in this case the returned instance is not immutable, on
purpose. `HttpHeaders` does not extends `MultiValueMap` anymore and
shouldn't be seen as such.
Closes: gh-34341
Signed-off-by: Bryce J. Fisher <bryce.fisher@gmail.com>
[brian.clozel@broadcom.com: reduce scope and update javadoc]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
1 year ago
Sébastien Deleuze
7695be0079
Merge branch '6.2.x'
1 year ago
Sébastien Deleuze
dba4881318
Refine the CGLIB error message with native
...
See gh-34370
1 year ago
Sébastien Deleuze
e44a3eb39a
Merge branch '6.2.x'
1 year ago
Sébastien Deleuze
16ec08aec8
Provide a more actionable CGLIB error message with native
...
Closes gh-34370
1 year ago
rstoyanchev
03984bacf4
Merge branch '6.2.x'
1 year ago
rstoyanchev
462c2bd538
Enhance constructor binding for List/Map/Array
...
Support List/Map/Array of simple values, or values supported
by type conversion.
Closes gh-34305
1 year ago
rstoyanchev
7f29f0e663
Revert commit 3505c4bcad9fab4a6754d6a4f331669722ae2fae
...
The fix did not address the issue. It only made the constructor not
fail with tests succeeding due to setter binding instead.
See gh-34043
1 year ago
rstoyanchev
3898482d3f
Revert commit 0f38c28e9155e0190cf3ffb5478aca3e9282b6e7
...
The fix is not how the issue needs to be addressed.
See gh-34121
1 year ago
rstoyanchev
bb7ce21076
Expose Locale to method validation in WebFlux
...
Closes gh-33810
1 year ago
Stéphane Nicoll
49bd8333e8
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
fd4dee7ce3
Merge pull request #34183 from remeio
...
* pr/34183:
Polish "Add support for multidimensional arrays"
Add support for multidimensional arrays
Closes gh-34183
1 year ago
Stéphane Nicoll
ec037b1ec0
Polish "Add support for multidimensional arrays"
...
See gh-34183
1 year ago
xumengqi
68c1e2ac92
Add support for multidimensional arrays
...
See gh-34183
1 year ago
Sam Brannen
e997e16cd1
Merge branch '6.2.x'
1 year ago
Sam Brannen
819a7c86c1
Clarify component scanning of abstract classes with @Lookup methods
...
Due to changes in gh-19118, classes that contain @Lookup methods are
no longer required to be concrete classes for use with component
scanning; however, the reference documentation still states that such
classes must not be abstract.
This commit therefore removes the outdated reference documentation and
updates the corresponding Javadoc.
See gh-19118
Closes gh-34367
1 year ago
Stéphane Nicoll
fce0389e23
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
9c1346d240
Merge pull request #34316 from JoshuaChen
...
* pr/34316:
Polish "Handle arbitrary JoinPoint argument index"
Handle arbitrary JoinPoint argument index
Closes gh-34316
1 year ago
Stéphane Nicoll
fb6e86551a
Polish "Handle arbitrary JoinPoint argument index"
...
See gh-34316
1 year ago
Joshua Chen
13ba770428
Handle arbitrary JoinPoint argument index
...
See gh-34316
Signed-off-by: Joshua Chen <27291761@qq.com>
1 year ago
Stéphane Nicoll
3c4d535723
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
a4d99d6201
Merge pull request #33957 from anaconda875
...
* pr/33957:
Polish "Use proper return type in AsyncExecutionInterceptor"
Use proper return type in AsyncExecutionInterceptor
Closes gh-33957
1 year ago
Stéphane Nicoll
3923150dad
Polish "Use proper return type in AsyncExecutionInterceptor"
...
See gh-33957
1 year ago
Bao.Ngo
8eb24458f8
Use proper return type in AsyncExecutionInterceptor
...
See gh-33957
1 year ago
Stéphane Nicoll
0db2c7d40c
Merge pull request #33729 from dssievewright
...
* pr/33729:
Polish "Prevent further configuration once SqlCall is compiled"
Prevent further configuration once SqlCall is compiled
Closes gh-33729
1 year ago
Stéphane Nicoll
35dea59ce4
Polish "Prevent further configuration once SqlCall is compiled"
...
See gh-33729
1 year ago
Dan Sievewright
8810913f30
Prevent further configuration once SqlCall is compiled
...
This commit prevents AbstractJdbcCall to be further configured once it
is compiled.
See gh-33729
1 year ago
Juergen Hoeller
83ab71725f
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrySupport.java
1 year ago
Juergen Hoeller
cda7e98643
Lazily override default editors when actually needed
...
Closes gh-34361
1 year ago
Stéphane Nicoll
dfe6dc1ee5
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
e92809d470
Update CI actions
1 year ago
rstoyanchev
ecf75f2f40
Merge branch '6.2.x'
1 year ago
rstoyanchev
f477c1653d
Allow WebSocket over HTTP CONNECT
...
Closes gh-34044
1 year ago
rstoyanchev
1cea1fe962
Polishing contribution
...
Closes gh-34066
1 year ago
Tarek Mues
8b07f93620
Add getters ServerResponseResultHandler
...
See gh-34066
1 year ago
Pierre Rossato
a9ecf90524
Minor update in WebSocket STOMP documentation
...
Closes gh-34353
Signed-off-by: Pierre Rossato <pierre.rossato@gmail.com>
1 year ago
Daeho Kwon
7536777a18
Replace hardcoded "Sec-WebSocket-Version" with constant
...
Closes gh-34319
Signed-off-by: Daeho Kwon <trewq231@naver.com>
1 year ago
Juergen Hoeller
088d53adb4
Merge branch '6.2.x'
1 year ago
Juergen Hoeller
1b18928bf0
Explicitly set custom ClassLoader on CGLIB Enhancer
...
Closes gh-34274
1 year ago
Juergen Hoeller
8c2b44bd6c
Support filtered/unfiltered stream access on ObjectProvider
...
Closes gh-34318
Closes gh-34203
1 year ago
Juergen Hoeller
ecc7ddd96b
Merge branch '6.2.x'
1 year ago
Juergen Hoeller
2df8ea94e0
Clean root entry path to match jar entries format in cache
...
Closes gh-34348
1 year ago
Juergen Hoeller
121be15004
Merge branch '6.2.x'
1 year ago
Juergen Hoeller
323e52b5a9
Continue with pre-instantiation when current bean is in creation already
...
Closes gh-34349
1 year ago
Juergen Hoeller
7405e20690
Merge branch '6.2.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/ResolvableType.java
1 year ago
Juergen Hoeller
ed994dcd97
Resolve bounds for type variable before emptiness check
...
Closes gh-34328
1 year ago
Juergen Hoeller
4c3b435d23
Enforce exact match for bounds of nested type variable
...
Closes gh-34300
1 year ago
Sébastien Deleuze
4620d864dd
Refine GenericApplicationContext#registerBean nullness
...
Closes gh-34343
1 year ago
Johnny Lim
042b78f609
Fix Javadoc @code tags
...
Signed-off-by: Johnny Lim <izeye@naver.com>
1 year ago