Sébastien Deleuze
38f9cbe3de
Use latest version of sockjs-client in AbstractSockJsService
...
Closes gh-30848
2023-07-10 15:27:53 +02:00
Sébastien Deleuze
76f94e998e
Merge branch '6.0.x'
2023-07-09 18:41:58 +02:00
Sébastien Deleuze
c91041b675
Improve RSocketClientToServer*IntegrationTests reliability
...
Those new delays seems to make tests more reliable.
Closes gh-30844
2023-07-09 18:39:50 +02:00
Juergen Hoeller
71bb45c87b
Merge branch '6.0.x'
2023-07-09 16:56:45 +02:00
Juergen Hoeller
a17cf742b2
Polishing
2023-07-09 16:55:21 +02:00
Juergen Hoeller
a102cd5f32
Tolerate isCandidateClass call with null as annotation type
...
Closes gh-30842
2023-07-09 16:52:54 +02:00
Juergen Hoeller
d03b6aa1d6
Reinstate support for legacy JSR-250 Resource annotation
...
This merges the existing support for the legacy JSR-250 PostConstruct/PreDestroy annotations into CommonAnnotationBeanPostProcessor itself, opening up the InitDestroyAnnotationBeanPostProcessor base class for multiple init/destroy methods in a single post-processor. This removes the need for a separate JSR-250 InitDestroyAnnotationBeanPostProcessor in AnnotationConfigUtils.
Closes gh-30695
2023-07-09 16:52:17 +02:00
Sam Brannen
0521cdda88
Merge branch '6.0.x'
2023-07-09 15:38:55 +02:00
Sam Brannen
b32b4f3a59
Polish DefaultSingletonBeanRegistryTests
2023-07-09 15:32:20 +02:00
Sam Brannen
502997d8e9
Further simplify DefaultSingletonBeanRegistry.isDependent()
...
See gh-30839
2023-07-09 15:32:20 +02:00
bnbakp0582
fb4ad2f3ba
Simplify DefaultSingletonBeanRegistry.isDependent()
...
Move `alreadySeen` handling out of for-loop.
Closes gh-30839
2023-07-09 15:22:35 +02:00
Juergen Hoeller
6b1fbc9fe1
Revise ResolvableType equality
...
ResolvableTypes are only considered equal if of the very same class now.
As a consequence, a forRawClass result is not equal to forClass anymore.
The new equalsType method is available for plain type equality checks.
Closes gh-28608
Closes gh-27748
2023-07-09 12:35:37 +02:00
Juergen Hoeller
5243c2262a
Support scheduler qualifier for reactive SubscribingRunnable as well
...
See gh-20818
2023-07-08 17:18:17 +02:00
Juergen Hoeller
a0c80ffc06
Destroy local TaskSchedulerRouter which may contain local executor
...
See gh-20818
2023-07-08 15:55:25 +02:00
Juergen Hoeller
a8614531ab
Support for determining a target scheduler for a specific task
...
Introduces "scheduler" attribute on @Scheduled annotation.
TaskSchedulerRouter delegates to qualified/default scheduler.
ScheduledMethodRunnable exposes qualifier through SchedulingAwareRunnable.
Closes gh-20818
2023-07-08 15:37:04 +02:00
Juergen Hoeller
f0fe58f0ec
Move observation support classes to scheduling.support package
...
Avoids a package cycle between config and support (only config->support allowed).
See gh-29883
2023-07-08 14:57:02 +02:00
Sébastien Deleuze
8fb412ea74
Merge branch '6.0.x'
2023-07-08 11:11:37 +02:00
Sébastien Deleuze
b3de1b8e95
Use consistently *KotlinTests naming for Kotlin tests
...
Closes gh-30837
2023-07-08 11:02:20 +02:00
Sébastien Deleuze
fb17e283d1
Replace @link by proper KDoc class reference in tests
...
Closes gh-30836
2023-07-08 10:44:40 +02:00
Juergen Hoeller
bf99361abb
Merge branch '6.0.x'
2023-07-08 00:58:58 +02:00
Juergen Hoeller
0b7a24fc14
Polishing
2023-07-08 00:58:20 +02:00
Juergen Hoeller
464b676ec5
Expose shutdown state in TaskRejectedException message
...
See gh-27090
2023-07-07 23:59:10 +02:00
rstoyanchev
ac11b03cd3
Document customization of method validation errors
...
Closes gh-30653
2023-07-07 21:31:58 +01:00
Sam Brannen
75b540f25c
Update copyright headers
2023-07-07 15:03:09 +02:00
Sam Brannen
8bf79cc9c4
Polish contribution
...
Closes gh-30593
2023-07-07 15:02:38 +02:00
Heo YounHaeng
7ff80bc09d
Fix example in Javadoc for MultipartBodyBuilder
...
See gh-30593
2023-07-07 15:00:47 +02:00
Valery Yatsynovich
8d6b0eb191
Fix typo in UriUtils Javadoc
...
Closes gh-30598
2023-07-07 14:50:46 +02:00
Juergen Hoeller
35c7e3960e
Polishing
2023-07-07 13:46:57 +02:00
Juergen Hoeller
8e8c3f5a7c
Polishing
2023-07-07 13:14:40 +02:00
Sam Brannen
f50b230fb3
Emphasize that a ContextCustomizer must implement equals() and hashCode()
2023-07-06 17:28:24 +02:00
Sam Brannen
02ba06953f
Polish grammar and formatting
2023-07-06 17:21:30 +02:00
Brian Clozel
df22ba39f8
Warn against direct usage of Servlet API in WebFlux apps
...
Closes gh-28872
2023-07-06 17:11:24 +02:00
Sam Brannen
826776f321
Improve assertions in DefaultConversionServiceTests
...
Specifically, we now check the actual type of a converted collection in
various assertions to ensure that converters adhere to their contracts.
2023-07-06 14:01:26 +02:00
Sam Brannen
29f92c8a2b
Polish observability docs
2023-07-06 13:27:20 +02:00
Brian Clozel
64e04b7bc2
Document limitations of Servlet Filter observations
...
This commit documents the fact that the Servlet Filter based
observations for MVC applications is limited by the Servlet Filter
contract in the first place. All processing and logging that happens
outside of the scope of the filter is not observed.
Log statements from the catalina engine (in the case of Tomcat), or any
container-specific infrastructure, is not covered by the
instrumentation.
Closes gh-29398
2023-07-06 13:09:41 +02:00
Sam Brannen
ad05b02ff5
Update Javadoc for ObjectUtils.nullSafeConciseToString()
...
See gh-30810
2023-07-06 12:26:47 +02:00
Brian Clozel
430a24e6bc
Further document ShallowEtagHeaderFilter limitations
...
This commit improves the documentation for the
`ShallowEtagHeaderFilter`, stating that it is only meant to support a
subset of conditional HTTP requests: GET requests with "If-None-Match"
headers. Other headers and state changing HTTP methods are not supported
here, as the filter only operates on the content of the response and has
no knowledge of the resource being served.
Closes gh-30517
2023-07-06 09:39:57 +02:00
Juergen Hoeller
b7b9f2cb6b
Expand tests for array to Collection/Set/List interface
...
See gh-28048
2023-07-05 20:15:10 +02:00
rstoyanchev
df2617d575
Document method validation improvements
...
Closes gh-30643
2023-07-05 17:07:30 +01:00
Sébastien Deleuze
a03a14797f
Add AOT support for Kotlin constructors with optional parameters
...
This commit leverages Kotlin reflection to instantiate classes
with constructors using optional parameters in the code
generated AOT.
Closes gh-29820
2023-07-07 17:40:31 +02:00
Arjen Poutsma
20dd66cd5a
Introduce ReactorNettyClientRequestFactory
...
This commit introduces an implementation of ClientHttpRequestFactory
based on Reactor Netty's HttpClient.
Closes gh-30835
2023-07-07 15:30:53 +02:00
Sam Brannen
d720d6be6b
Merge branch '6.0.x'
2023-07-07 15:05:01 +02:00
Arjen Poutsma
cb0c5f5a7b
Allow RestClient::exchange to keep connection open
...
This commit introduces an overloaded version of RestClient::exchange,
adding a boolean parameter that indicates whether the connection is
closed after the exchange function is executed.
See gh-29552
2023-07-07 14:24:44 +02:00
Arjen Poutsma
8691173fd8
Create RestClient documentation placeholder
...
This commit creates a placeholder for future RestClient reference
documentation. It also creats a link to RestClient from the RestTemplate
javadoc.
See gh-30826
2023-07-07 14:14:59 +02:00
Juergen Hoeller
ddc3cf301a
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java
2023-07-07 13:51:08 +02:00
Juergen Hoeller
b12115b61f
Sophisticated lifecycle support for ThreadPoolTaskExecutor/Scheduler
...
Pause/resume capability through SmartLifecycle implementation.
ContextClosedEvent triggers early executor/scheduler shutdown.
Programmatic initiateShutdown() option for custom early shutdown.
Closes gh-30831
Closes gh-27090
Closes gh-24497
2023-07-07 13:04:52 +02:00
Sébastien Deleuze
029a69f5c1
Upgrade to Kotlin Coroutines 1.7.2
...
Closes gh-30833
2023-07-07 11:44:03 +02:00
Sébastien Deleuze
80d1f12324
Upgrade to Kotlin 1.9.0
...
Closes gh-30719
2023-07-07 11:43:02 +02:00
Sam Brannen
e906eac049
Update regarding Antora, etc.
2023-07-07 11:18:43 +02:00
Sam Brannen
32aa9e4b63
Update links
2023-07-07 11:00:53 +02:00