Arjen Poutsma
789f6fc188
Add @Nullable annotation to decode method taking DataBuffer
...
Javadoc indicates the returned value can be null.
2019-11-11 16:48:30 +01:00
Rossen Stoyanchev
23ec6d243c
Merge pull request #2023
...
Closes gh-2023
2019-11-11 15:04:50 +00:00
Rossen Stoyanchev
347f16c8ac
Polishing
...
See gh-2023
2019-11-11 15:04:36 +00:00
Pat Turner
6db8306e46
XpathResultMatcher supports Hamcrest Matcher NodeList
...
Use when xpath result is XPathConstants.NODESET
2019-11-11 15:04:36 +00:00
Biju Kunjummen
5ee990e045
Use Function.identity
...
Closes gh-2024
2019-11-11 15:04:29 +00:00
Juergen Hoeller
990bfd8772
Support for new MySQL 8 error code 3572
...
Closes gh-23972
2019-11-11 15:55:26 +01:00
Juergen Hoeller
6d47e1e0a1
Fix getHeaderPredicate visibility to be declared as protected
...
Closes gh-23976
2019-11-11 15:55:06 +01:00
Steven Schlansker
fc55e66d50
ApplicationListenerMethodAdapter: gracefully handle beans which are actually NullBean
...
Currently, if you have an optional event listener (via a @Bean method returning `null`)
this causes the event multicaster to explode violently. Now, we just safely skip it.
2019-11-11 15:43:29 +01:00
GungnirLaevatain
d494621ee3
avoid store all bean name
2019-11-11 15:43:05 +01:00
stsypanov
92efe95069
Simplify ConstructorResolver: do not sort intermediate array
2019-11-11 15:42:35 +01:00
Rossen Stoyanchev
51b43496f4
Update docs for ASYNC dispatch config
...
Closes gh-23958
2019-11-11 14:31:53 +00:00
Sam Brannen
d03ab79531
Polish contribution
...
See gh-23970
2019-11-11 15:16:07 +01:00
Andy Wilkinson
f7bc8c8268
Tidy up classpath pollution caused by resource creation in the tests
...
Previously, spring-webmvc and spring-webflux both contained tests
that would create gzipped files, write them to the filesystem
alongside the project's compiled test classes, and configure them to
be deleted on JVM exit. The output location placed the files on the
classpath, polluting it for every subsequent test that used the same
ClassLoader. The test-sources plugin combined with Gradle's use of
worker JVMs, broadens the scope of this pollution to other, downstream
projects in the same build. For example, the tests for
spring-websocket will have a different classpath depending on whether
or not the tests for spring-webmvc have already been run on the same
worker as part of the current build.
This commit updates the spring-webmvc and spring-webflux modules to
introduce a new JUnit Jupiter extension, GzipSupport. This extension
allows gzipped files to be created via an injectable GzippedFiles
class and automatically deletes each created file in an after-each
callback. This ensures that a gzipped file only exists on the
classpath for the duration of the test that needs it, avoiding the
pollution of the classpath of any subsequent tests.
Closes gh-23970
2019-11-11 15:11:10 +01:00
Andy Wilkinson
b5fb28284e
Upgrade to Shadow Plugin 5.2.0
...
Closes gh-23971
2019-11-11 14:56:40 +01:00
Rossen Stoyanchev
ffe69a51e1
Javadoc update for content negotiation
...
Closes gh-23409
2019-11-11 12:04:28 +00:00
Rossen Stoyanchev
1403603b05
Doc update for ForwardedHeaderFilter
...
Closes gh-23954
2019-11-11 11:44:44 +00:00
Sam Brannen
64dfa462a6
Fix Javadoc for SmartLifecycle.DEFAULT_PHASE regarding ordering
...
Closes gh-23956
2019-11-09 18:03:07 +01:00
Sam Brannen
29185505b1
Polishing
2019-11-09 13:51:28 +01:00
Sam Brannen
cb9d27b9b8
Polish contribution and fix build
...
See gh-1954
2019-11-09 12:45:02 +01:00
Rob Tompkins
cfb7777a07
Exception response for MockRestServiceServer
...
Closes gh-1954
2019-11-08 18:09:49 +00:00
Muhammad Hewedy
f638bfc6a9
Fix status code in webmvc.adoc
...
Closes gh-22396
2019-11-08 17:50:48 +00:00
Rossen Stoyanchev
b98d8ef06f
Merge pull request #22715
...
Closes gh-22715
2019-11-08 17:48:20 +00:00
Rossen Stoyanchev
32f82c0ed0
Polishing
2019-11-08 17:47:59 +00:00
Ilja
08f1cb454a
Allow sending headers with the disconnect frame
2019-11-08 17:41:39 +00:00
denisgalaybo
b0b6423714
Fixed error in webflux.adoc
...
Closes gh-23957
2019-11-08 17:19:53 +00:00
Rossen Stoyanchev
fd453a0753
Merge branch 'pr/23417'
...
Closes gh-23417
2019-11-08 15:04:15 +00:00
Rossen Stoyanchev
b2b02ad7a1
Polishing
2019-11-08 15:03:53 +00:00
Ilya Lukyanovich
801cca8cf8
Preserve ErrorMessage#getOriginalMessage()
...
See gh-23417
2019-11-08 15:03:53 +00:00
Tomo Suzuki
21d390a018
Replacing netty-all with specific dependencies
2019-11-08 13:00:37 +00:00
Qimiao Chen
9b8da04e64
Delete unnecessary variable assignment
...
Closes gh-23955
2019-11-08 13:39:02 +01:00
Rossen Stoyanchev
a6dd63f9ca
Merge pull request #23938
2019-11-08 09:18:06 +00:00
Rossen Stoyanchev
0e1a237139
Polishing
2019-11-08 09:17:25 +00:00
Johnny Lim
91f5f42d13
Add tests for PrincipalMethodArgumentResolver
2019-11-08 08:48:56 +00:00
Rossen Stoyanchev
c7b9988033
Merge pull request #23855
2019-11-08 08:45:03 +00:00
Rossen Stoyanchev
1261e64465
Minor refactoring
...
Apply default Accept header for HttpUrlConnection only.
See gh-23855
2019-11-08 08:44:04 +00:00
Lorenzo Torracchi
afae8c3045
Avoid default "Accept" from HttpUrlConnection
...
Closes gh-23740
2019-11-08 08:43:25 +00:00
Juergen Hoeller
d394c7a5c0
Upgrade to RxJava 2.2.14, OkHttp 3.14.4, JRuby 9.2.9, Rhino 1.7.11, Awaitility 3.1.6
2019-11-07 22:08:52 +01:00
Juergen Hoeller
6a48bb7b4d
Polishing
2019-11-07 22:08:29 +01:00
stsypanov
f5ae3c77c6
Use Method::getParameterCount where possible
2019-11-07 18:00:15 +01:00
Arjen Poutsma
55f3f128c9
Polishing
2019-11-07 14:29:47 +01:00
Arjen Poutsma
bf36f49dc5
Corrupt multipart should not hang SynchronossPartHttpMessageReader
...
This commit notifies the Synchronoss listener that the buffer stream
has ended.
Closes gh-23768
2019-11-07 09:10:07 +01:00
Rossen Stoyanchev
5d2fc2fc32
HttpHandlerConnector uses non-blocking thread
...
Closes gh-23936
2019-11-06 21:58:02 +00:00
Rossen Stoyanchev
627a9be654
Update WebMvcConfigurer#addInterceptors Javadoc
...
Closes gh-23908
2019-11-06 21:40:53 +00:00
Rossen Stoyanchev
203977972b
Fix issue with path matching options
...
Closes gh-23907
2019-11-06 17:54:39 +00:00
Rossen Stoyanchev
3a241b546f
Relax domain name checks in ResponseCookie
...
Closes gh-23924
2019-11-06 17:54:39 +00:00
Sam Brannen
29599a93a4
Re-enable support for invalid Expires attributes in MockCookie
...
Changes introduced in commit 9b2087618b
caused a regression for Cookie support in MockHttpServletResponse.
Specifically, an Expires attribute that cannot be parsed using
`ZonedDateTime.parse()` now results in an exception; whereas,
previously an entry such as `Expires=0` was allowed.
This commit fixes this issue in MockCookie by catching and ignoring any
DateTimeException thrown while attempting to parse an Expires attribute.
Closes gh-23911
2019-11-06 18:28:28 +01:00
Rossen Stoyanchev
9960ed55aa
Fix condition in ServletInvocableHandlerMethod
...
Closes gh-23775
2019-11-06 15:39:37 +00:00
Sam Brannen
29b31cad48
Align implementations of StringToUUIDConverter and UUIDEditor
...
Closes gh-23940
2019-11-06 14:21:52 +01:00
Sam Brannen
92228f0fc0
Test status quo for @RequestHeader UUID conversion support
...
See gh-23939
2019-11-06 13:49:44 +01:00
Sam Brannen
1a13700f8b
Polish contribution
...
See gh-23923
2019-11-06 12:57:01 +01:00