Juergen Hoeller
08474aa921
Clarify JDBC-defined negative values returned from batchUpdate
...
Closes gh-25138
2020-05-29 15:51:19 +02:00
Juergen Hoeller
2ff22510d9
Avoid earlyApplicationEvents iteration in case of empty Set
...
Closes gh-25161
2020-05-29 15:50:10 +02:00
Juergen Hoeller
ef626e992d
Document that MapPropertySource should not contain null values
...
Closes gh-25142
2020-05-29 15:49:36 +02:00
Juergen Hoeller
bec89dba4c
Consistent MultiValueMap behavior for empty list values
...
This commit extracts MultiValueMapAdapter from CollectionUtils and reuses its implementation as base class of LinkedMultiValueMap.
Closes gh-25140
2020-05-29 15:48:19 +02:00
Sam Brannen
768257567d
Make use of custom types configurable in YamlProcessor
...
Prior to this commit, there was no easy way to restrict what types could
be loaded from a YAML document in subclasses of YamlProcessor such as
YamlPropertiesFactoryBean and YamlMapFactoryBean.
This commit introduces a setSupportedTypes(Class<?>...) method in
YamlProcessor in order to address this. If no supported types are
configured, all types encountered in YAML documents will be supported.
If an unsupported type is encountered, an IllegalStateException will be
thrown when the corresponding YAML node is processed.
Closes gh-25152
2020-05-29 13:32:52 +02:00
Sam Brannen
3201671ceb
Polish contribution
...
See gh-25149
2020-05-28 14:37:18 +02:00
dlsrb6342
fce972eec8
Fix BaseCodecConfigurer clone bug
...
Prior to this commit, ExchangeStrategies custom codec's reader and
writer were not registered due to a bug in BaseCodecConfigurer.
This commit fixes this by correcting the implementation of the
DefaultCustomCodecs constructor used within BaseCodecConfigurer.
Closes gh-25149
2020-05-28 12:34:29 +02:00
Rossen Stoyanchev
a92f425529
Also use constant for custom mapping condition
...
See gh-25143
2020-05-28 06:51:57 +01:00
Rossen Stoyanchev
c0c3c01afd
Fix race condition in WriteResultPublisher
...
between subscription and error from the Publish
Closes gh-25096
2020-05-27 19:11:29 +01:00
Rossen Stoyanchev
955f77bf5d
Add error message to MockServerHttpRequest
...
Closes gh-25109
2020-05-27 18:57:02 +01:00
Rossen Stoyanchev
e9a9883aa9
Optimal initialization of empty request mapping conditions
...
Closes gh-25143
2020-05-27 18:57:02 +01:00
Sam Brannen
3cbc297fc6
Polish contribution
...
See gh-25137
2020-05-27 16:29:34 +02:00
limo520
d6cab259c3
Fix URI pattern example in webflux.adoc
...
Closes gh-25137
2020-05-27 16:14:47 +02:00
Juergen Hoeller
ae8d0d4a12
Upgrade to Groovy 2.5.12, Caffeine 2.8.4, Apache Johnzon 1.2.6
2020-05-26 23:35:58 +02:00
Juergen Hoeller
27d5fdc5aa
Polishing
2020-05-26 23:35:38 +02:00
Juergen Hoeller
1dea55dc20
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
2020-05-26 23:34:36 +02:00
Juergen Hoeller
dfa948c2ca
Introduce AutowireCandidateResolver.cloneIfNecessary() method
...
Closes gh-25131
2020-05-26 23:33:39 +02:00
Juergen Hoeller
f9aae8dd5a
Consistently determine minimum number of arguments from specified index
...
Closes gh-25130
2020-05-26 23:33:02 +02:00
Rossen Stoyanchev
4f65ba4e74
Simplify creation of HttpContext for Apache HttpClient
...
Closes gh-25066
2020-05-24 21:09:49 +01:00
Rossen Stoyanchev
23a66e016e
UriBuilder javadoc update
...
Closes gh-25055
2020-05-24 21:09:13 +01:00
Rossen Stoyanchev
c3e55d537e
DefaultResponseErrorHandler javadoc update
...
Closes gh-25067
2020-05-23 10:41:35 +01:00
Rossen Stoyanchev
d7a29bbcef
DefaultClientResponseBuilder copies logPrefix
...
Closes gh-25069
2020-05-23 10:41:07 +01:00
Rossen Stoyanchev
8204055924
MockServerHttpRequest accepts custom HTTP method
...
Closes gh-25109
2020-05-23 10:40:25 +01:00
Juergen Hoeller
cd9ee98ff8
Upgrade to Jetty 9.4.29, Hibernate ORM 5.4.16, WebJars Locator 0.45
2020-05-22 17:08:02 +02:00
Juergen Hoeller
4018b462f1
JdbcOperations polishing (backported from master)
2020-05-22 16:35:34 +02:00
Juergen Hoeller
d7161f5e5e
Polishing
2020-05-22 16:23:46 +02:00
Juergen Hoeller
e5c079edfc
Introduce serializeToByteArray/deserializeFromByteArray on (De)Serializer
...
Closes gh-25117
2020-05-22 16:22:59 +02:00
Juergen Hoeller
807ded24c4
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
2020-05-22 16:12:49 +02:00
Sam Brannen
4f2b6473ac
Honor attributes configured in ServerRequest.from() builder
...
Prior to this commit, if attributes were configured in the builder
returned by `ServerRequest.from(...)`, those attributes were not
available in the `ServerRequest` built by the builder. In addition, any
attributes in the original `ServerRequest` supplied to
`ServerRequest.from(...)` were also ignored.
This commit addresses this issue by ensuring that the attributes
configured via DefaultServerRequestBuilder are used as the attributes
in the resulting `ServerRequest`.
This commit also polishes the Javadoc in `ServerRequest` and
`ClientResponse` and avoids the use of lambda expressions in the
constructors for `DefaultServerRequestBuilder` and
`DefaultClientResponseBuilder`.
Closes gh-25106
2020-05-20 14:10:44 +02:00
Juergen Hoeller
b5b718f1e5
Upgrade to AssertJ 3.16.1, Log4J 2.13.3, Vavr 0.10.3, JAMon 2.82, Joda-Time 2.10.6, Caffeine 2.8.3, OkHttp 3.14.9, OpenPDF 1.3.17, HtmlUnit 2.40
2020-05-18 20:09:37 +02:00
Juergen Hoeller
9631db71c4
Direct exposure of StringBuilder instead of intermediate String
...
Closes gh-25024
2020-05-18 20:09:24 +02:00
Juergen Hoeller
c35b21b49f
Consistent not-null assertions for configured interceptors
...
Closes gh-25088
2020-05-18 14:23:05 +02:00
Juergen Hoeller
06cfd80c1c
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
2020-05-18 14:22:24 +02:00
Juergen Hoeller
35f3277910
Revised javadoc note on Lookup annotation limitations/recommendations
...
Closes gh-25044
2020-05-18 14:21:14 +02:00
Juergen Hoeller
28177ad91b
Explicit notes on access to standard context beans in SpEL expressions
...
Closes gh-25037
2020-05-18 14:19:05 +02:00
Yanming Zhou
9d429e30de
Fix SpelEvaluationException with example code
...
org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'name' cannot be found on null
2020-05-18 14:16:15 +02:00
Juergen Hoeller
e660386670
Upgrade to Checkstyle 8.32, Tomcat 9.0.35, Netty 4.1.50, Jackson 2.10.4, Hibernate ORM 5.4.15, Hibernate Validator 6.1.5
2020-05-14 00:23:50 +02:00
Juergen Hoeller
fe33822fa7
Polishing
2020-05-14 00:23:20 +02:00
Juergen Hoeller
8212aaf3bb
ResolvableType ignores TypeNotPresentException from generic signature
...
Closes gh-25064
2020-05-14 00:22:58 +02:00
Andy Wilkinson
1015f79b42
Include timeout unit in shutdown failure logging
...
Closes gh-25058
2020-05-12 18:42:40 +02:00
Rossen Stoyanchev
ef27bc4b82
Upgrade to RSocket 1.0.0
...
Closes gh-25053
2020-05-12 12:00:06 +01:00
Rossen Stoyanchev
7c9ad6dd08
Add deprecation notes to the WebMvc config schema
...
Closes gh-23915
2020-05-12 06:50:09 +01:00
Yanming Zhou
50a4fdac6e
Use Map::computeIfAbsent to simplify scope implementations
...
Closes gh-25038
2020-05-10 15:41:00 +02:00
Sam Brannen
f5d011cb82
Filter reactive tx managers in TransactionAttributeSourceClassFilter
...
Prior to this commit, the TransactionAttributeSourceClassFilter
filtered out PlatformTransactionManager but not
ReactiveTransactionManager implementations.
TransactionAttributeSourceClassFilter now filters out any
TransactionManager implementation, covering both imperative and
reactive transaction managers.
2020-05-09 13:57:03 +02:00
Sam Brannen
ec3d647d1d
Update spring-tx.xsd regarding reactive tx mgmt support
...
Closes gh-25030
2020-05-08 19:49:00 +02:00
Sam Brannen
0f22a5e409
Update Javadoc regarding reactive tx mgmt support
...
See gh-25030
2020-05-08 19:25:22 +02:00
Sam Brannen
e1b2cafb33
Polish reactive transaction mgmt documentation in reference manual
...
See gh-25030
2020-05-08 18:13:31 +02:00
Mark Paluch
7fbdc3ad11
Document ReactiveTransactionManager support in reference manual
...
See gh-25030.
2020-05-08 16:11:02 +02:00
Rossen Stoyanchev
706446a660
Deprecate unused method
2020-05-08 14:30:10 +01:00
Rossen Stoyanchev
19ba9087f5
HttpHeaders#equals handles wrapping correctly
...
Closes gh-25034
2020-05-08 09:37:37 +01:00