Sam Brannen
161c9dc3bd
Improve @Cacheable documentation regarding java.util.Optional
...
This commit improves the documentation for @Cacheable to point out that
`null` will be stored in the cache for an empty `Optional` return value.
Closes gh-27184
2021-07-27 15:05:43 +02:00
Sam Brannen
42edef0bcc
Avoid StringIndexOutOfBoundsException in WebSocketMessageBrokerStats
...
Prior to this commit, if the TaskExecutor configured in
WebSocketMessageBrokerStats for the inboundChannelExecutor or
outboundChannelExecutor was not a ThreadPoolTaskExecutor, a
StringIndexOutOfBoundsException was thrown when attempting to parse the
results of invoking toString() on the executor.
The reason is that ThreadPoolTaskExecutor delegates to a
ThreadPoolExecutor whose toString() implementation generates text
containing "pool size = ...", and WebSocketMessageBrokerStats'
getExecutorStatsInfo() method relied on the presence of "pool" in the
text returned from toString().
This commit fixes this bug by ensuring that the text returned from
toString() contains "pool" before parsing the text. If "pool" is not
present in the text, getExecutorStatsInfo() now returns "unknown"
instead of throwing a StringIndexOutOfBoundsException.
Closes gh-27209
2021-07-25 19:05:02 +02:00
Sam Brannen
e94811f1b9
Polish WebSocketMessageBrokerConfigurationSupportTests
2021-07-24 21:45:31 +03:00
Rossen Stoyanchev
d034a1f26d
Blockhound rule for MediaTypeFactory static initializer
...
Closes gh-26631
2021-07-23 17:01:28 +01:00
Rossen Stoyanchev
460947651a
Minor refactoring in DefaultPathContainer
...
Closes gh-27204
2021-07-23 16:53:54 +01:00
Juergen Hoeller
af67764edb
Upgrade to Netty 4.1.66 and Undertow 2.2.9
2021-07-23 12:20:10 +02:00
Juergen Hoeller
ba08006d52
ObjectMapper.configure(MapperFeature, boolean) is deprecated as of Jackson 2.13
...
Closes gh-27206
2021-07-23 12:19:35 +02:00
Juergen Hoeller
2594f4e058
Avoid unnecessary cause initialization in ResponseStatusException
...
Closes gh-27196
2021-07-23 12:18:15 +02:00
Sam Brannen
9c0825629b
Reintroduce left-hand side navigation in ref docs
...
A side effect of 71995a9087
caused the
dynamic table of contents in the left-hand side navigation to no longer
be displayed, likely due to the missing "details" DIV.
This commit addresses this issue by applying the custom header only to
index.adoc.
Consequently, the TOC is now displayed again on all pages except the
index page, but the customized header is no longer applied to those
pages.
We may revisit this issue if we decide that we want the custom header
on all pages (and not just the index page).
Closes gh-27177
2021-07-17 17:53:43 +03:00
Sam Brannen
e0c0e7f878
Fix typo in ref docs
2021-07-17 17:03:51 +03:00
Rossen Stoyanchev
0b1d14cdd9
Follow-up fix, checking also "ws" and port 80 case
...
See gh-27097
2021-07-16 09:34:12 +01:00
Spring Buildmaster
ca262eaa1c
Next development version (v5.3.10-SNAPSHOT)
2021-07-14 06:48:14 +00:00
Rossen Stoyanchev
bb816c123c
Use MessageSource in HandlerMethod for error reason
...
Closes gh-27156
2021-07-13 19:38:58 +01:00
Juergen Hoeller
33f3aa9b8a
Upgrade to AspectJ 1.9.7 and EclipseLink 2.7.9
2021-07-13 18:29:34 +02:00
Rossen Stoyanchev
e1f51cbce7
Check both https and wss in forwarded header checks
...
Closes gh-27097
2021-07-13 16:32:12 +01:00
Stephane Nicoll
6ec7cffc93
Upgrade to Kotlin 1.5.21
...
Closes gh-27110
2021-07-13 14:55:25 +02:00
Stephane Nicoll
4bc6f40ce8
Upgrade to Reactor 2020.0.9
...
Closes gh-27158
2021-07-13 14:29:59 +02:00
Arjen Poutsma
bf2790498b
Document ResourceBundle limitations
...
This commit adds a note to the documentation saying that ResourceBundle
does not support multiple bundles with the same base name.
Closes gh-27038
2021-07-13 13:45:03 +02:00
Rossen Stoyanchev
95d7f883ae
Deprecate LastModified
...
See gh-27075
2021-07-13 12:11:20 +01:00
Rossen Stoyanchev
25131ebf6f
Resource handler initialized only once
...
Closes gh-27153
2021-07-13 11:44:06 +01:00
Rossen Stoyanchev
0267b00a65
Minor update to Javadoc for HandlerInterceptor#postHandle
...
Closes gh-27122
2021-07-13 08:44:54 +01:00
Stephane Nicoll
c6e644e5c3
Polish "Downcast to InetSocketAddress for Jetty 10"
...
This commit uses the target type where getRemoteAddress and
getLocalAddress are defined.
See gh-27120
2021-07-13 09:38:37 +02:00
Juergen Hoeller
62e916534f
Introduce remaining policy setters from ScheduledThreadPoolExecutor
...
Closes gh-26719
2021-07-13 09:27:48 +02:00
Juergen Hoeller
e1c0f3b067
CommonsMultipartResolver supports configurable HTTP methods
...
Closes gh-27161
2021-07-12 23:19:08 +02:00
Juergen Hoeller
1ff8da3635
StandardServletMultipartResolver provides strict Servlet compliance option
...
Closes gh-26826
2021-07-12 23:18:54 +02:00
Juergen Hoeller
ed27ea7aa0
Restrict fallback multipart binding to POST requests with multipart/form-data
...
Closes gh-26999
See gh-26826
2021-07-12 17:55:49 +02:00
Juergen Hoeller
128689e79b
Use entrySet iterator in getBodyFromServletRequestParameters
...
Closes gh-27081
2021-07-12 17:43:19 +02:00
Juergen Hoeller
475396b516
Exclude sealed interfaces from auto-proxying (for JDK 17 compatibility)
...
Closes gh-27027
2021-07-12 17:42:15 +02:00
Sviatoslav Hryb
f3f0bd22c5
Fix content negotiation description
2021-07-12 15:23:35 +01:00
Rossen Stoyanchev
6d01d49b76
Downcast to InetSocketAddress for Jetty 10
...
Closes gh-27120
2021-07-12 15:04:14 +01:00
Stephane Nicoll
a90ed957be
Support ResolvableType in BeanDefinitionBuilder
...
Closes gh-27160
2021-07-12 14:07:25 +02:00
Stephane Nicoll
171b283e49
Start building against Reactor 2020.0.9 snapshots
...
See gh-27158
2021-07-12 09:36:50 +02:00
Stephane Nicoll
71202d62ed
Upgrade to Kotlin Coroutines 1.5.1
...
Closes gh-27157
2021-07-12 09:11:44 +02:00
Stephane Nicoll
ded9c4eb50
Merge pull request #27155 from izeye
...
* pr/27155:
Add Javadoc since to BeanDefinitionBuilder.setSynthetic()
Closes gh-27155
2021-07-12 08:22:21 +02:00
Johnny Lim
925edf28fc
Add Javadoc since to BeanDefinitionBuilder.setSynthetic()
...
See gh-27155
2021-07-12 08:22:09 +02:00
Stephane Nicoll
75d4465908
Merge pull request #27151 from HubertWo
...
* pr/27151:
Fix link to Javadoc API
Fix link to Javadoc API
Closes gh-27151
2021-07-11 09:10:17 +02:00
Stephane Nicoll
98685e8be7
Fix link to Javadoc API
...
See gh-27151
2021-07-11 09:09:46 +02:00
Hubert Wo
e719bc2cda
Fix link to Javadoc API
...
See gh-27151
2021-07-11 09:05:20 +02:00
Rossen Stoyanchev
f9167c3df5
Improve Javadoc of ContentCachingRequestWrapper
...
Closes gh-27068
2021-07-09 20:34:22 +01:00
Rossen Stoyanchev
fbf4724d78
Replace Jetty 9 only constant with explicit value
...
Closes gh-27121
2021-07-09 20:16:58 +01:00
Rossen Stoyanchev
39442143b7
Fix and improve docs on {*var} pattern
...
Closes gh-27132
2021-07-09 20:09:06 +01:00
Juergen Hoeller
d3b1c4f62b
Code alignment between ThreadPoolTaskExecutor and ThreadPoolTaskScheduler
...
See gh-26700
2021-07-09 15:19:25 +02:00
Filip Hrisafov
531174258c
Apply dynamic changes in ThreadPoolTaskExecutor before setting local value
...
If the ThreadPoolTaskExecutor is dynamically changed with an invalid value
the state of the ThreadPoolTaskExecutor does no longer correctly represent
the state of the underlying ThreadPoolExecutor
2021-07-09 15:10:55 +02:00
diguage
564c6f7f86
improve the performance of iteration
2021-07-09 15:10:18 +02:00
Juergen Hoeller
a07c7865a5
Lazy initialization of transaction UUID (with deprecated getter methods)
...
Includes removal of trace logging for individual synchronization steps.
Closes gh-26955
2021-07-09 15:07:30 +02:00
Juergen Hoeller
8680fdb8bc
Polishing
2021-07-09 13:26:46 +02:00
Juergen Hoeller
4fe3ca1b82
DataClassRowMapper suppresses setter method calls for constructor-bound properties
...
Closes gh-26569
2021-07-09 13:26:39 +02:00
Juergen Hoeller
c45c46dad7
Make proxyTargetClass=true with introduction advice work for JDK proxy targets
...
Closes gh-27044
2021-07-09 13:23:04 +02:00
Juergen Hoeller
74f91339e2
BeanCreationException message includes declaring class of constructor/factory method
...
Closes gh-27139
2021-07-09 13:22:50 +02:00
Juergen Hoeller
acb2aec3dd
Compatibility with HtmlUnit 2.51
...
Includes upgrade to Tomcat 9.0.50, Jetty 9.4.43, Jackson 2.12.4.
Closes gh-27147
2021-07-09 13:22:34 +02:00