Arjen Poutsma
5c5c89e9fe
Merge branch '5.3.x'
3 years ago
Arjen Poutsma
e4ec376075
Disabling Undertow server in CoroutinesIntegrationTests
3 years ago
Juergen Hoeller
4e687ab460
Upgrade to Groovy 4.0.2
3 years ago
Juergen Hoeller
c1a5b462c2
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
3 years ago
Arjen Poutsma
e29bc3db7c
Refactor PartGenerator to use isLast
...
This commit refactors the PartGenerator to use the newly introduced
Token::isLast property.
See gh-28006
3 years ago
Sam Brannen
d44ba0a42b
Consistent formatting
3 years ago
Juergen Hoeller
c81e11d537
Polishing
3 years ago
Juergen Hoeller
de6180b093
Upgrade to Reactor 2020.0.19
...
Includes Netty 4.1.77 and RxJava 3.1.4.
Closes gh-28437
3 years ago
Sam Brannen
da112a7ea8
Remove obsolete SpEL expression grammar file
...
The antlr-based SpEL expression grammar file (SpringExpressions.g) was
introduced during initial development and prototyping of the Spring
Expression language; however, it was quickly abandoned in favor of a
handcrafted implementation. Consequently, it has become obsolete over
time and has never been actively maintained.
This commit therefore removes the obsolete SpEL expression grammar file.
Closes gh-28425
3 years ago
rstoyanchev
922636e85e
Content decoding in client exceptions
...
Closes gh-28190
3 years ago
rstoyanchev
64795664b2
Add ClientHttpResponseDecorator
...
See gh-28190
3 years ago
rstoyanchev
6b1a8452fa
Polishing
3 years ago
Sam Brannen
d8f650e3ca
Polishing
3 years ago
evgeny.bovykin
7cb6ac0a02
Make inner classes static when feasible (on main)
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
3 years ago
Sam Brannen
d45b5f6e8a
Merge branch '5.3.x'
...
# Conflicts:
# spring-webflux/src/main/java/org/springframework/web/reactive/resource/VersionResourceResolver.java
# spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
3 years ago
Sam Brannen
1c10cdd1e8
Update copyright dates
...
See gh-28433
3 years ago
evgeny.bovykin
941b92cbed
Make inner classes static when feasible
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
3 years ago
Phillip Webb
3df3bc2aa0
Generate native hints for property values
...
Update `BeanDefinitionPropertiesCodeGenerator` so that hints are
generated for property values. This restores functionality that was
inadvertently removed during refactoring.
See gh-28414
3 years ago
Sam Brannen
91441ba653
Update copyright date
3 years ago
CharlieYu
432fce9db3
Polish Javadoc and inline comments
...
Closes gh-28426
3 years ago
Sam Brannen
5f8a4bcdc5
Merge branch '5.3.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java
# spring-context/src/main/java/org/springframework/scripting/support/StandardScriptFactory.java
3 years ago
rstoyanchev
8378af9e39
Polishing
...
See gh-28189
3 years ago
rstoyanchev
78ab4d7118
Support content negotiation for RFC 7807
...
Closes gh-28189
3 years ago
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
3 years ago
Simon Baslé
f3fd8f9e1d
Update Reactor BOM to 2022.0.0-M2
...
Closes gh-28365
3 years ago
Sam Brannen
f7d032c924
Polish formatting
3 years ago
Sam Brannen
6c131ef9dc
Merge branch '5.3.x'
3 years ago
Sam Brannen
a1c7380398
Add test for `value` attribute in @ModelAttribute in WebFlux
...
This complements the previous commit which tested only the `name`
attribute.
See gh-28423
3 years ago
Maciej Walkowiak
2713f28c28
Fix typo in declarative HTTP interfaces docs
...
Closes gh-28431
3 years ago
rstoyanchev
d2b674391a
Add documentation for interface proxy client
...
Closes gh-28386
3 years ago
rstoyanchev
54d90aa6f5
Remove Remoting and EJB sections in reference docs
3 years ago
rstoyanchev
5d0f49c2c8
Add WebInputException subclasses
...
Closes gh-28142
3 years ago
evgeny.bovykin
06e1cc2f9b
Use Arrays.toString for initMethodNames and destroyMethodNames arrays in AbstractBeanDefinition#toString
3 years ago
Sam Brannen
061d1263f8
Merge branch '5.3.x'
3 years ago
Sam Brannen
7dd622bdb2
Support name attribute in @ModelAttribute in WebFlux
...
Prior to this commit, the `name` attribute in @ModelAttribute was not
supported when using WebFlux. This is because MethodParameter was used
instead of SynthesizingMethodParameter when retrieving the
@ModelAttribute annotation. In other words, @AliasFor was not honored
because the annotation was not synthesized. Consequently, only the
`value` attribute was supported in WebFlux when specifying a custom name
via @ModelAttribute .
This commit fixes this by using SynthesizingMethodParameter to retrieve
the @ModelAttribute annotation.
Closes gh-28423
3 years ago
Sam Brannen
9b1c8a3a5c
Fix broken ToStringVisitorTests
...
Tests were broken due to the switch to Set.of(...) in
2b65f274dc
.
3 years ago
Sam Brannen
a69d9716c9
Merge branch '5.3.x'
3 years ago
Sam Brannen
64c96c579d
Polish contribution
...
See gh-28422
3 years ago
Carlos Bouzón García
39e3876301
Fix BindingResult error when ModelAttribute has custom name in WebFlux
...
Closes gh-28422
3 years ago
Phillip Webb
7700570253
Don't consider singleton instances when deducing bean class
...
Update `RegisteredBean` bean class detection to not consider
singletons. Prior to this commit, any beans that had been instantiated
could return the wrong class, especially if they were implemented using
a lambda.
See gh-28414
3 years ago
Juergen Hoeller
2b65f274dc
Use Set.of instead of HashSet with Arrays.asList
3 years ago
Juergen Hoeller
12357fdf44
Add byte[] to supported JMS message header types
...
Closes gh-28421
3 years ago
Juergen Hoeller
f8c4071f73
Introduce removeApplicationListener method at ApplicationContext level
...
Closes gh-14023
3 years ago
Sam Brannen
8627bef8d9
Polishing
3 years ago
Phillip Webb
16e7f1f212
Complete refactor of AOT concepts
...
Remove the AOT code that now has an alternative API.
Closes gh-28414
3 years ago
Phillip Webb
702207d9ee
Add updated ApplicationContextAotGenerator
...
Add `ApplicationContextAotGenerator` implementation that makes
use of the new AOT generation APIs.
See gh-28414
3 years ago
Phillip Webb
588d4d8776
Update scoped proxy AOT support
...
Add `ScopedProxyBeanRegistrationCodeGeneratorFactory` to supply custom
scoped proxy bean registration code.
See gh-28414
3 years ago
Phillip Webb
b677eb90f9
Update PersistenceAnnotationBeanPostProcessor AOT support
...
Update `PersistenceAnnotationBeanPostProcessor` so that it provides
AOT contributions via the `BeanRegistrationAotProcessor` interface.
See gh-28414
3 years ago
Phillip Webb
e4a8258fb2
Update ConfigurationClassPostProcessor AOT support
...
Update `ConfigurationClassPostProcessor` so that it provides AOT
contributions via the `BeanFactoryInitializationAotProcessor`
interface.
See gh-28414
3 years ago
Phillip Webb
7664a54c93
Update InitDestroyAnnotationBeanPostProcessor AOT support
...
Update `InitDestroyAnnotationBeanPostProcessor` so that it provides
AOT contributions via the `BeanRegistrationAotProcessor` interface.
See gh-28414
3 years ago