Phillip Webb
95a9d46a87
Migrate Hamcrest assertions to AssertJ
...
Migrate all existing `assertThat(..., Matcher)` assertions to AssertJ
and add checkstyle rules to ensure they don't return.
See gh-23022
2019-05-23 15:49:59 -07:00
Rossen Stoyanchev
2294625cf0
Exposes STOMP frame stats
...
Closes gh-23015
2019-05-23 18:32:11 -04:00
Rossen Stoyanchev
e09c5fd9e5
Use TaskExecutor instead of ThreadPoolTaskExecutor
...
Closes gh-22943
2019-05-23 14:26:51 -04:00
Rossen Stoyanchev
0b2fcbfe8a
Use TaskScheduler instead of ThreadPoolTaskScheduler
...
Closes gh-22943
2019-05-23 14:01:05 -04:00
Rossen Stoyanchev
d30778458a
Create SECURITY.md
2019-05-23 11:36:52 -04:00
Rossen Stoyanchev
31135cc2c4
Merge branch '5.1.x'
2019-05-23 10:41:33 -04:00
Rossen Stoyanchev
5f7541344a
Fix test failing after #99302f
2019-05-23 10:41:08 -04:00
Rossen Stoyanchev
3a5fb1fdf3
Fix test failing after #99302f
2019-05-23 10:38:08 -04:00
Rossen Stoyanchev
71396121a7
Merge branch '5.1.x'
2019-05-23 09:57:29 -04:00
Rossen Stoyanchev
99302fd6bd
AntPathMatcher#isPattern also checks URI vars
...
Closes gh-22959
2019-05-23 09:56:11 -04:00
D瓜哥
f39fde7460
Upgrade to asciidoctorj-pdf version 1.5.0-alpha.17
...
Closes gh-23006
2019-05-23 15:22:11 +02:00
Sam Brannen
f806594e60
Introduce getOrEmpty(String) convenience method in HttpHeaders
...
This commit introduces a getOrEmpty(String) method in HttpHeaders that
returns an immutable, empty list if no values are present for the
specified header name. This is provided as a convenience over the
existing get(String) method which returns null in such cases.
Closes gh-22949
2019-05-22 15:26:45 +02:00
Sam Brannen
9ca7354146
Polishing
2019-05-22 15:22:29 +02:00
Sam Brannen
819097a07a
Clean up warning in Gradle build
2019-05-22 14:48:40 +02:00
Juergen Hoeller
8a33ef2d14
Merge branch '5.1.x'
2019-05-21 21:06:38 +02:00
Juergen Hoeller
5aa0de7ac8
Upgrade to OkHttp 3.14.2, Joda-Time 2.10.2, OpenPDF 1.2.17, JRuby 9.2.7
2019-05-21 20:47:06 +02:00
Juergen Hoeller
701b7b8a18
Align ReactiveTypeDescriptor accessor methods
2019-05-21 20:46:27 +02:00
Rossen Stoyanchev
438d3710d3
Detect MimeType via ConnectionSetupPayload
...
Closes gh-23012
2019-05-21 14:07:59 -04:00
Juergen Hoeller
3645281c35
Polishing
2019-05-21 19:26:39 +02:00
Juergen Hoeller
ff838fd011
Consistently support CompletionStage in ReactiveAdapterRegistry
...
Aligns ReactiveAdapterRegistry with MVC/messaging handler methods in terms of recognizing CompletionStage as well as CompletableFuture. Includes consistent use of ReactiveAdapter for reactive transactions.
Closes gh-23011
2019-05-21 19:26:12 +02:00
Arjen Poutsma
9b3c92e8d2
Add leading slash for path predicate if not present
...
This commit adds a leading slash for path predicates in both
WebFlux.fn and WebMvc.fn.
Closes gh-22795
2019-05-21 12:09:36 +02:00
Juergen Hoeller
c329bad42a
Merge branch '5.1.x'
2019-05-21 00:16:35 +02:00
Juergen Hoeller
8cd3daad0d
Polishing
2019-05-21 00:15:40 +02:00
Juergen Hoeller
171e8f56a3
Merge branch '5.1.x'
2019-05-20 22:27:37 +02:00
Juergen Hoeller
75d751d968
Polishing
2019-05-20 22:19:11 +02:00
Juergen Hoeller
55e601c322
Revise system property replacement tests
...
See gh-22959
2019-05-20 22:19:03 +02:00
stsypanov
6f07a504b8
A couple of trivial simplifications
2019-05-20 21:41:15 +02:00
Phillip Webb
02850f357f
Migrate exception checking tests to use AssertJ
...
Migrate tests that use `@Test(expectedException=...)` or
`try...fail...catch` to use AssertJ's `assertThatException`
instead.
2019-05-20 10:47:53 -07:00
Phillip Webb
fb26fc3f94
Polishing
2019-05-20 10:46:20 -07:00
Juergen Hoeller
a363fed209
Merge branch '5.1.x'
2019-05-20 17:21:07 +02:00
Juergen Hoeller
515d627aec
Upgrade to Jackson 2.9.9
2019-05-20 17:19:34 +02:00
Juergen Hoeller
7edf8aca8e
Drop DefaultNamespaceHandlerResolverTests.testResolveInvalidHandler
...
Closes gh-22994
2019-05-20 17:19:18 +02:00
Juergen Hoeller
52e02deb53
Configurable connection recovery in SimpleMessageListenerContainer
...
Closes gh-22987
2019-05-20 17:19:00 +02:00
Juergen Hoeller
c5d6b74321
Fix stale-if-error xsd documentation
...
Closes gh-22983
2019-05-20 17:18:11 +02:00
Juergen Hoeller
4c334de850
Use Map.values() iteration within isMultipart check
...
Closes gh-22982
2019-05-20 17:17:51 +02:00
Johnny Lim
21e163e5da
Fix typo
2019-05-20 16:41:05 +02:00
Rossen Stoyanchev
bd910fc62b
Fix checkstyle errors
2019-05-16 20:49:49 -04:00
Rossen Stoyanchev
60e4649ff3
Merge branch '5.1.x'
2019-05-16 20:42:09 -04:00
Rossen Stoyanchev
da4430e27e
BindingResult for resolved async attributes
...
ViewResolutionResultHandler no longer adds BindingResult objects for
async model attributes. Instead AbstractView adds them later when
those attributes are resolved to concrete values.
Closes gh-22933
2019-05-16 20:41:37 -04:00
Rossen Stoyanchev
172afb510a
Polish AbstractView in WebFlux
2019-05-16 14:37:04 -04:00
Rossen Stoyanchev
ed2a3bd451
Take advantage of Encoder#encodeValue
...
EncoderHttpMessageWriter takes advantage of the Encoder#encodeValue
that's new in 5.2 in order to produce a Mono<DataBuffer> instead of
producing a Flux<DataBuffer> and then using flux.singleOrEmpty().
Closes gh-22952
2019-05-15 17:31:59 -04:00
Rossen Stoyanchev
013249757a
Merge branch '5.1.x'
2019-05-15 16:44:05 -04:00
Rossen Stoyanchev
ffd7cffa14
Fix typo in HttpHeaders
...
Closes gh-22976
2019-05-15 16:42:07 -04:00
Rossen Stoyanchev
e0b9ed6d72
Fix typo in reference
...
Closes gh-22975
2019-05-15 16:13:02 -04:00
Rossen Stoyanchev
0274752fe9
Use singleOrEmpty to avoid upstream cancel
...
Closes gh-22952
2019-05-15 16:02:28 -04:00
Arjen Poutsma
a30a134c23
Make StringDecoder use DataBufferUtils.split
...
* Added DataBufferUtils.split variant that takes multiple delimiters
as argument (instead of 1).
* Use this new split() variant from within StringDecoder, replacing
its inefficient algorithm with the Knuth-Morris-Pratt algorithm.
2019-05-15 16:07:28 +02:00
Rossen Stoyanchev
b1912f6acc
Fix checkstyle error
2019-05-15 08:29:41 -04:00
Rossen Stoyanchev
97c2de915a
Add RouteMatcher
...
Closes gh-22642
2019-05-14 21:44:39 -04:00
Rossen Stoyanchev
afc0ae3752
Add hasPatternSyntax method to PathPattern
2019-05-14 15:36:47 -04:00
Rossen Stoyanchev
ac6c96a391
Polish
2019-05-13 13:45:25 -04:00