Sam Brannen
86fb7362b1
Register EventPublishingTestExecutionListener by default
...
See gh-18490
6 years ago
Sebastien Deleuze
40e4c8068d
Polishing
6 years ago
Sebastien Deleuze
9217f0b63e
Convert CoRouterFunctionDsl indents to tabs
6 years ago
Sebastien Deleuze
2eb631aaad
Avoid exposing (Co)RouterFunctionDsl#invoke
...
WebFlux.fn RouterFunctionDsl#invoke and CoRouterFunctionDsl#invoke
were wrongly exposed on public API and have never been designed to
be used by end users, but rather only invoked from router { } or
coRouter { } builders.
To fix that, avoiding this method being accessible from the DSL and
for the sake of consistency with WebMvc.fn RouterFunctionDsl,
Spring Framework 5.2 turns public fun invoke() method to
an internal fun build() one.
As a consequence RouterFunctionDsl and CoRouterFunctionDsl are not
open anymore, they are expected to be extended via Kotlin
extensions if needed.
Closes gh-22736
6 years ago
Sebastien Deleuze
e6171fb47d
Add Kotlin router DSL and extensions for WebMvc.fn
...
Closes gh-22697
6 years ago
Sebastien Deleuze
92d5f6395e
Rename awaitPrincipal to awaitPrincipalOrNull
...
See gh-19975
6 years ago
Arjen Poutsma
b3d3778269
Do not resolve DTDs in Stax Tests
6 years ago
Brian Clozel
65365d91c8
Fix tests
...
See gh-18490
6 years ago
Juergen Hoeller
52f90c303e
Rename LogMessage.lazy(Supplier) to LogMessage.of(Supplier)
...
See gh-22726
6 years ago
Juergen Hoeller
9080ae24f9
First-class support for printf-style format strings in LogMessage
...
LogMessage is an abstract class now: with internal subclasses for Supplier bindings as well as printf-style format strings with a variable number of arguments (some fixed for efficiency, varargs array as fallback), created through corresponding static factory methods.
Closes gh-22726
6 years ago
Rossen Stoyanchev
5616eb2e8e
Merge branch '5.1.x'
6 years ago
Rossen Stoyanchev
325fb5d97e
Unwrap CompletionException in return value handler
...
See gh-22476
6 years ago
Rossen Stoyanchev
88a7a68a71
Revert to Californium-SR6 for M1 release
6 years ago
Rossen Stoyanchev
2c28e4e972
Merge branch '5.1.x'
6 years ago
Rossen Stoyanchev
b3bc2d9253
Remove workaround for reactor-core issue
6 years ago
Rossen Stoyanchev
1c5aa6a8d3
Merge changes for 22644
6 years ago
Rossen Stoyanchev
72119ac076
ProducesRequestCondition caches accepted media types
...
Closes gh-22644
6 years ago
Rossen Stoyanchev
254f06e1a1
Request attribute cache for resolved lookupPath
...
See gh-22644
6 years ago
Rossen Stoyanchev
bb9fcad58a
RequestCondition implementations minor refactoring
...
Reduce object creation by pre-computing instances that can be re-used,
and eliminating collection copying and sorting where not needed.
See gh-22644
6 years ago
Juergen Hoeller
8f967129b9
Merge branch '5.1.x'
6 years ago
Sam Brannen
13543f5e0f
Register EventPublishingTestExecutionListener by default
...
Closes gh-18490
6 years ago
Juergen Hoeller
0cc6a9ef11
Avoid getDeclaredMethod check in ReflectionUtils.isObjectMethod
...
Closes gh-22730
6 years ago
Sam Brannen
d6173512fe
Document test execution event support in the Reference Manual
...
Closes gh-18490
6 years ago
Sebastien Deleuze
a63d23492a
Optimize Jackson2Tokenizer
...
See gh-22727
6 years ago
Sam Brannen
807828b2b7
Polish Javadoc for MergedAnnotation support
...
See gh-21697
6 years ago
Sam Brannen
a4279c5d00
Rename MergedAnnotations.SearchStrategy.SUPER_CLASS to SUPERCLASS
...
For consistency within the framework, this commit renames the SUPER_CLASS enum constant
to SUPERCLASS.
See gh-21697
6 years ago
Juergen Hoeller
d39e3cc0ba
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
9ea02c6dfa
Revised javadoc
6 years ago
Juergen Hoeller
abbe61b9f8
Consistent internal use of getMergedLocalBeanDefinition
6 years ago
Juergen Hoeller
e0fe32af05
Detect factory method annotations in getBeanNamesForAnnotation and co
...
As of 5.2, ListableBeanFactory.findAnnotationOnBean and its retrieval companions getBeanNamesForAnnotation and getBeansWithAnnotation detect annotations on @Bean methods as well.
Closes gh-22541
6 years ago
Juergen Hoeller
dee88d931a
Common constant for DefaultBeanNameGenerator as well
...
Closes gh-22591
6 years ago
Brian Clozel
47c8d1de7b
Avoid calling other bean methods in web config
...
This commit changes the main configuration classes for Spring MVC and
Spring WebFlux to not call other bean methods when setting up the web
infrastructure. This allows configuration classes extending
`DelegatingWebFluxConfiguration` and `DelegatingWebMvcConfiguration`
to opt-in the lite-mode, as introduced in gh-22461.
6 years ago
Brian Clozel
83ce8ad79a
Fix checkstyle
6 years ago
Juergen Hoeller
e2e91e2196
Switch LogAccessor argument order to have message supplier last
...
Closes gh-22726
6 years ago
Sam Brannen
5922642333
Document exception handling and async support for test events
...
This commit updates the class-level Javadoc for
EventPublishingTestExecutionListener in order to provide explicit
documentation for exception handling and async support.
See gh-18490
6 years ago
Juergen Hoeller
2e63c66b0d
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
0babc1fb64
Polishing
6 years ago
Juergen Hoeller
95a84bbad1
Clarify case-insensitive nature of HttpHeaders
...
Closes gh-22723
6 years ago
Juergen Hoeller
3ac88bed23
Introduce LogAccessor and LogMessage as convenient logging utilities
...
Closes gh-22726
6 years ago
Rossen Stoyanchev
208a1ae0ea
Sync ChannelSendOperator copy in spring-messaging
...
See gh-22720
6 years ago
Rossen Stoyanchev
89a29598d5
Merge branch '5.1.x'
6 years ago
Rossen Stoyanchev
4c08863776
Add test case for writeFunction error signal
...
See gh-22720
6 years ago
Juergen Hoeller
c366e205e5
Common constants for default AnnotationBeanNameGenerator instances
...
Closes gh-22591
6 years ago
Sebastien Deleuze
b2dbefcfc5
Prevent spring-core-coroutines deployment
...
See gh-19975
6 years ago
Sebastien Deleuze
d2fa5536db
Use more efficient Reactor operators
...
Use handle/flatMapIterable instead of flatMap/flatMapMany
when possible.
Closes gh-22727
6 years ago
Violeta Georgieva
9bd0ec33f8
Release cached item in ChannelSendOperator when server error
...
Related to gh-22720
6 years ago
Juergen Hoeller
b1231de062
Fix formatting
...
See gh-21855
6 years ago
Matthias Kurz
6899624155
Correctly parse property name in path "map[key[foo]]"
6 years ago
liguoxiong
7b11c3b599
Transform the beanName in method isPrimary
...
Transform the beanName in method DefaultListableBeanFactory.isPrimary.
Add the corresponding test cases.
Fixes #22675 .
6 years ago
Juergen Hoeller
a11a592734
AbstractSqlParameterSource enumerates parameter values in toString()
...
Closes gh-2080
6 years ago