Rossen Stoyanchev
f8121515bf
Merge branch '5.1.x'
2019-03-22 14:50:51 -04:00
Rossen Stoyanchev
c9a86e1ff4
Polish
...
See gh-22598
2019-03-22 14:39:21 -04:00
wenqi.huang
d10174a3e9
Optimize performance of produces condition checks
2019-03-22 13:59:34 -04:00
Sam Brannen
14902e1744
Polish Javadoc
2019-03-22 13:32:24 +01:00
Sebastien Deleuze
5a0ac42b85
Merge branch '5.1.x'
2019-03-21 19:17:22 +01:00
Sebastien Deleuze
d4714847a0
Restore 2 digit days format in HttpHeaders
...
As recommended by RFC 7231, this commit restore using 2 digit days
when formatting dates while still using
DateTimeFormatter.RFC_1123_DATE_TIME for parsing.
Closes gh-22478
2019-03-21 18:31:45 +01:00
Sebastien Deleuze
0d8fbb4c65
Merge branch '5.1.x'
2019-03-21 11:34:10 +01:00
Sebastien Deleuze
35010149f8
Fix Jackson builder modulesToInstall override behavior
...
This commit updates Jackson2ObjectMapperBuilder in order
to ensure that modules specified via modulesToInstall
eventually override the default ones.
Closes gh-22576
2019-03-21 11:24:03 +01:00
Rossen Stoyanchev
4938831575
Register custom before default codecs
...
Closes gh-22612
2019-03-20 20:52:57 -04:00
Rossen Stoyanchev
2e7f98d7f6
Merge branch '5.1.x'
2019-03-20 14:47:02 -04:00
Rossen Stoyanchev
c6a655275d
Allow overriding of FormHttpMessageWriter#getMediaType
...
Closes gh-22588
2019-03-20 14:46:38 -04:00
Rossen Stoyanchev
5f111098b1
Check for Reactor Netty disconnected client errors
...
Extend the list of disconnected client errors in HttpWebHandlerAdapter
to include the Reactor Netty AbortedException as well exceptions with
the message "connection reset by peer".
Closes gh-21790
2019-03-20 09:01:22 -04:00
Sam Brannen
7d498ba681
Fix Checkstyle error and polish Javadoc for ResourceHttpMessageReader
2019-03-20 11:03:54 +01:00
Rossen Stoyanchev
4a397f108a
ResourceDecoder supports filename hint
...
Closes gh-22267
2019-03-19 17:50:06 -04:00
Rossen Stoyanchev
5a3ff35215
Map arg resolver backs out if annotations present
...
Closes gh-21874
2019-03-19 16:41:26 -04:00
Arjen Poutsma
228cae216e
Merge branch '5.1.x'
2019-03-19 11:30:43 +01:00
Arjen Poutsma
4651039b1f
Use ChannelListener for Undertow zero-copy file transfers
...
This commit changes the UndertowServerHttpResponse to use a
listener-based approach instead of a blocking approach.
Closes gh-22413
2019-03-19 11:16:42 +01:00
Rossen Stoyanchev
e6d206b45a
Extra information in WebFlux stacktraces
...
Use the checkpoint operator at various places in WebFlux to insert
information that Reactor then uses to enrich exceptions, via suppressed
exceptions, when error signals flow through the operator.
Closes gh-22105
2019-03-15 16:25:43 -04:00
Sam Brannen
9d2e7ced89
Favor Math.[min|max]() over handcrafted code
...
In line with the general trend toward favoring core JDK APIs for common
tasks in Spring Framework 5.2, this commit replaces handcrafted
statements with Math.min() and Math.max() were applicable.
2019-03-14 16:48:44 +01:00
Juergen Hoeller
840d80b994
Merge branch '5.1.x'
2019-03-13 16:24:01 +01:00
Juergen Hoeller
fe56aa6fa4
Polishing
2019-03-13 15:32:24 +01:00
Rossen Stoyanchev
57a67a3c06
Header predicate option in AbstractRequestLoggingFilter
...
Closes gh-22244
2019-03-12 17:05:40 -04:00
Rossen Stoyanchev
2b4cd5cf56
Fragment should be expanded last
...
Closes gh-22447
2019-03-12 15:10:35 -04:00
Juergen Hoeller
a06ab6d0ad
Polishing
2019-03-08 09:54:44 +01:00
Lars Grefer
a98e3f0481
Migrate CacheControl to use java.time.Duration for durations
2019-03-08 09:12:19 +01:00
Juergen Hoeller
17930d6c27
Consistent formatting and related polishing
2019-03-07 17:25:48 +01:00
stsypanov
cb4d6f097c
Use StringJoiner where possible to simplify String joining
2019-03-07 16:51:18 +01:00
Juergen Hoeller
5c1776ae8f
Merge branch '5.1.x'
2019-03-06 16:26:00 +01:00
Juergen Hoeller
b8f29962ac
Upgrade to SLF4J 1.7.26, H2 1.4.198, OkHttp 3.13.1, WebJars Locator 0.37
...
Includes Mockito 2.25, Undertow 2.0.19, OpenPDF 1.2.10, JRuby 9.2.6.
2019-03-06 16:24:14 +01:00
Juergen Hoeller
18f2e6a12d
AnnotationConfigRegistry exposes registerBean with supplier/qualifiers
...
Closes gh-22457
2019-03-05 18:26:04 +01:00
www
ef91313342
Use String::isEmpty instead of "".equals(arg) when arg is not null
2019-03-05 14:32:56 +01:00
Juergen Hoeller
b2b0df893a
Merge branch '5.1.x'
2019-03-05 14:20:02 +01:00
Juergen Hoeller
d034c053b3
Jackson2Tokenizer passes DeserializationContext into all TokenBuffers
...
See gh-22510
2019-03-05 13:47:26 +01:00
Juergen Hoeller
013c0bca92
Polishing
2019-03-05 13:08:11 +01:00
Juergen Hoeller
f6693e790a
Jackson2Tokenizer passes DeserializationContext into TokenBuffer
...
Closes gh-22510
2019-03-05 13:08:04 +01:00
Rossen Stoyanchev
e3e1ffc986
Encoder/Decoder based payload serialization
...
See gh-21987
2019-03-04 23:35:43 -05:00
Sam Brannen
70cf597484
Remove obsolete overview.html files
2019-03-04 14:07:48 +01:00
Sam Brannen
a9f251db42
Fix broken Javadoc links
2019-03-03 17:18:18 +01:00
Sam Brannen
abda6a6c66
Polishing
2019-03-02 16:17:58 +01:00
Sam Brannen
02be21d0dc
Polishing
2019-03-02 14:22:28 +01:00
Johnny Lim
e21d94f91b
Polish
...
Closes gh-22472
2019-02-26 08:57:03 +01:00
Juergen Hoeller
5c2f3079fd
Sync between MockHttpServletResponse copies
...
See gh-22466
2019-02-25 23:14:37 +01:00
Juergen Hoeller
bc0317af3b
Merge branch '5.1.x'
2019-02-25 17:57:49 +01:00
Juergen Hoeller
9eb7f7e294
Polishing
2019-02-25 17:36:37 +01:00
Johnny Lim
625e210676
Polish
2019-02-25 12:17:53 +01:00
Sebastien Deleuze
dc8fb8bc5e
Use StringJoiner where possible to simplify String joining
2019-02-25 12:11:57 +01:00
Brian Clozel
afbe7b31bb
Polish
...
See gh-22341
2019-02-11 10:46:27 +01:00
Brian Clozel
fb4a28f904
Polish
...
See gh-22340
2019-02-11 10:45:50 +01:00
Sebastien Deleuze
0b9522c84e
Migrate Kotlin Mockito tests to Mockk
...
Closes gh-22345
2019-02-05 15:47:08 +01:00
Brian Clozel
1bf3b36ce8
Polish
...
See gh-22340
2019-02-05 15:06:33 +01:00