Juergen Hoeller
a34f1e3759
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
# spring-test/src/main/java/org/springframework/mock/http/server/reactive/MockServerHttpRequest.java
# spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/MockServerHttpRequest.java
# spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClientBuilder.java
2020-06-06 18:52:51 +02:00
Juergen Hoeller
d01830355d
Upgrade to Jetty Reactive HttpClient 1.1.3
2020-06-06 18:49:47 +02:00
Juergen Hoeller
65154170d3
Polishing
2020-06-06 18:49:32 +02:00
Juergen Hoeller
d71957ce7c
Polishing
2020-06-06 17:45:12 +02:00
Juergen Hoeller
7244f03064
Avoid unnecessary creation of not-found entity in ResponseEntity#of
...
Closes gh-25183
2020-06-06 17:44:30 +02:00
Juergen Hoeller
98030f3794
Avoid unnecessary copy of cookies map in DefaultWebClientBuilder
...
See gh-25034
2020-06-06 17:44:02 +02:00
Juergen Hoeller
f860b35df8
Upgrade to Undertow 2.1.3
2020-06-06 16:10:49 +02:00
Juergen Hoeller
65b09be669
Polishing
2020-06-06 16:10:20 +02:00
Juergen Hoeller
5051d7302d
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
# spring-test/src/main/java/org/springframework/mock/http/server/reactive/MockServerHttpRequest.java
# spring-web/src/main/java/org/springframework/http/HttpHeaders.java
# spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/MockServerHttpRequest.java
2020-06-06 15:27:15 +02:00
Juergen Hoeller
f3d4df2fd4
Consistently check available local/remote addresses for non-null
2020-06-06 15:15:16 +02:00
Juergen Hoeller
9cd9a8e86b
Extend readOnlyWebSocketHttpHeaders deprecation to 5.1.16
2020-06-06 14:41:06 +02:00
Juergen Hoeller
7b7d0a353d
Upgrade to Hibernate ORM 5.4.17 and Checkstyle 8.33
2020-06-06 13:22:55 +02:00
Juergen Hoeller
d14140da69
Polishing
2020-06-06 13:21:46 +02:00
Juergen Hoeller
196bb6fe32
Support for shared GroovyClassLoader in GroovyScriptFactory
...
Exposes setClassLoader method in ConfigurableApplicationContext interface as obvious first-class configuration option.
Closes gh-25177
2020-06-06 13:21:20 +02:00
Juergen Hoeller
ad5710c1d1
Restore original readOnlyHttpHeaders signature for binary compatibility
...
Closes gh-25034
2020-06-06 13:14:47 +02:00
Sam Brannen
aaa7c6c422
Merge branch '5.2.x'
2020-06-05 15:35:05 +02:00
Sam Brannen
fbeecf3bf8
Test status quo for invocation order of all advice types
...
Prior to this commit we did not have tests in place to verify the status
quo for the invocation order of all advice types when declared within
a single aspect, either via the <aop:aspect> XML namespace or AspectJ
auto-proxy support.
This commit introduces such tests that demonstrate where such ordering
is broken or suboptimal.
The only test for which the advice invocation order is correct or at
least as expected is the afterAdviceTypes() test method in
ReflectiveAspectJAdvisorFactoryTests, where an AOP proxy is hand crafted
using ReflectiveAspectJAdvisorFactory without the use of Spring's
AspectJPrecedenceComparator.
See gh-25186
2020-06-05 15:30:57 +02:00
Sam Brannen
04c8de4e50
Polishing
2020-06-05 15:22:41 +02:00
Arjen Poutsma
5f1326f233
Respect MimeType charset in Jackson codecs
...
Before this commit, Jackson2CodecSupport and subclasses
did not check media type encoding in the supportsMimeType
method (called from canEncode/canDecode).
As a result, the encoder reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
Closes: gh-25076
2020-06-05 15:09:05 +02:00
Arjen Poutsma
6a829a322a
Respect MediaType charset in Jackson converters
...
Before this commit, AbstractJackson2HttpMessageConverter and subclasses
did not check media type encoding in the canRead and canWrite
methods. As a result, the converter reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
See: gh-25076
2020-06-05 15:09:05 +02:00
Martin Macko
e11da64e9c
Fix obsolete link in Kotlin docs
...
Closes gh-25192
2020-06-05 14:12:38 +02:00
Arjen Poutsma
847629412f
Respect MimeType charset in Jackson codecs
...
Before this commit, Jackson2CodecSupport and subclasses
did not check media type encoding in the supportsMimeType
method (called from canEncode/canDecode).
As a result, the encoder reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
Closes: gh-25076
2020-06-05 10:53:28 +02:00
Arjen Poutsma
eb0aae066c
Respect MediaType charset in Jackson converters
...
Before this commit, AbstractJackson2HttpMessageConverter and subclasses
did not check media type encoding in the canRead and canWrite
methods. As a result, the converter reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
See: gh-25076
2020-06-05 10:52:42 +02:00
Sam Brannen
a7df011471
Merge branch '5.2.x'
2020-06-04 18:52:28 +02:00
Sam Brannen
a61ab5d296
Fix @since tags
...
See gh-25186
2020-06-04 18:51:51 +02:00
Sam Brannen
104f7f339a
Merge branch '5.2.x'
2020-06-04 18:43:52 +02:00
Sam Brannen
63e8609f3b
Test status quo for 'after' advice invocation order
...
See gh-25186
2020-06-04 18:37:24 +02:00
Sam Brannen
70b3de4afe
Polish AspectJAdvisorFactory tests
2020-06-04 18:37:16 +02:00
Sam Brannen
da7ead8914
Polishing
2020-06-03 15:05:58 +02:00
Sam Brannen
0b163fa536
Upgrade to Gradle 6.5
...
Closes gh-25180
2020-06-03 14:10:47 +02:00
Rossen Stoyanchev
a7f8120164
Merge branch '5.2.x'
2020-06-03 06:14:20 +01:00
Rossen Stoyanchev
8dc8d88f88
Pre-calculated RequestMappingInfo hashcode
...
See gh-25143
2020-06-03 06:11:35 +01:00
Rossen Stoyanchev
1e25556049
Shared PathPatternParser instance
...
See gh-25143
2020-06-03 05:58:10 +01:00
Sam Brannen
0f0b1ffe0d
Use computeIfAbsent in ScriptFactoryPostProcessor
2020-06-02 18:23:15 +02:00
Yoo In Keun
2549674f41
Refactor method name dispatching to switch statements
...
This commit refactors method name dispatching to switch statements in
WebSphereClassPreDefinePlugin.
Closes gh-25170
2020-06-02 17:29:55 +02:00
Sam Brannen
2a5fc08629
Merge branch '5.2.x'
2020-06-02 14:45:44 +02:00
Sam Brannen
1ced9370cd
Configure Gradle wrapper validation action
...
This commit configures the Gradle Wrapper Validation Action
for GitHub actions.
See: https://github.com/gradle/wrapper-validation-action
Closes gh-25175
2020-06-02 14:43:45 +02:00
Juergen Hoeller
e955e52f2f
Refactor method name dispatching to switch statements
...
Closes gh-25163
2020-05-29 23:07:25 +02:00
Juergen Hoeller
7207f7645c
Deprecate InstantiationAwareBeanPostProcessorAdapter
...
Consistently relying on default methods in the corresponding interfaces.
Closes gh-25165
2020-05-29 23:07:10 +02:00
Rossen Stoyanchev
1175b7eb52
Deprecate HandlerInterceptorAdapter
...
Closes gh-25147
2020-05-29 18:09:24 +01:00
Rossen Stoyanchev
8d449471c7
Polishing contribution
...
See gh-25148
2020-05-29 17:37:43 +01:00
Mihai Dumitrescu
b31b8ce6c1
Polishing in MockServerHttpRequest
...
Closes gh-25109
2020-05-29 16:31:19 +01:00
Johnny Lim
30351c257c
Deprecate methods in ReactorNettyWebSocketClient
...
Closes gh-25049
2020-05-29 16:24:52 +01:00
Rossen Stoyanchev
6d6269f1ee
Switch to Reactor 2020.0.0 snapshots
...
A switch to RSocket 1.0.1 snapshots is also required to pick up a
for froward compatibility with Reactor Netty 1.0.
See gh-25085
2020-05-29 15:14:01 +01:00
Juergen Hoeller
42ff01b5aa
Merge branch '5.2.x'
2020-05-29 15:57:32 +02:00
Juergen Hoeller
914425eefa
Polishing
2020-05-29 15:52:39 +02:00
Juergen Hoeller
cd4ef6f781
Consistently refer to FlushMode.MANUAL instead of outdated NEVER
...
Closes gh-25158
2020-05-29 15:51:54 +02:00
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