Arjen Poutsma
b67039d19a
Fix checkstyle issue
2019-03-20 20:29:43 +01: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
Arjen Poutsma
0e9ea2c94d
Fix review remarks on Servlet.fn
...
This commit incoporates the remarks made during the Servlet.fn review.
See gh-21490
2019-03-20 16:47:50 +01:00
Arjen Poutsma
2f682e1035
Polishing
2019-03-20 16:47:27 +01:00
Arjen Poutsma
e638fef508
Add Servlet.fn integration with DispatcherServlet
...
This commit adds support for HandlerFunctions and RouterFunctions to
DispatcherServlet, in the form of a HandlerAdapter and HandlerMapping.
See gh-21490
2019-03-20 16:47:27 +01:00
Arjen Poutsma
85082fc10c
Add Tests for Servlet.fn
...
This commit adds tests for Servlet.fn, the servlet-based version of
HandlerFunctions and RouterFunctions.
See gh-21490
2019-03-20 16:47:27 +01:00
Arjen Poutsma
5d2fd75cf9
Introduce Servlet.fn
...
This commit introduces Servlet.fn, a servlet-based version of
WebFlux.fn, i.e. HandlerFunctions and RouterFunctions.
This commit contains the web framework only, further commits provide
tests and DispatcherServlet integration.
See gh-21490
2019-03-20 16:47:27 +01: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
Rossen Stoyanchev
a2fcf0a821
ReactorNettyWebSocketSession uses correct frame size
...
See gh-22367
2019-03-19 15:42:06 -04:00
Rossen Stoyanchev
48ec875a7f
Merge branch '5.1.x'
2019-03-19 14:41:00 -04:00
Rossen Stoyanchev
c7401dbe1f
Fix @since typo
2019-03-19 14:40:34 -04:00
Rossen Stoyanchev
581e77c0fb
Merge branch '5.1.x'
2019-03-19 14:18:52 -04:00
Rossen Stoyanchev
f52c1fda3b
Polish
2019-03-19 14:18:33 -04:00
Sam Brannen
3e2dbd03b9
Merge branch '5.1.x'
2019-03-19 19:00:12 +01:00
Sam Brannen
ef11aa4583
Update documentation for WebJar support
...
Prior to this commit, documentation for WebJar support referenced the
webjars-locator artifact; however, Spring now uses the
webjars-locator-core artifact.
This commit updates the documentation to reflect this.
Closes gh-22613
2019-03-19 18:59:03 +01:00
Sam Brannen
2bbd52c9f3
Polishing
2019-03-19 18:46:05 +01: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
Sam Brannen
0fc0849c0a
Upgrade to JUnit Jupiter 5.4.1
...
Closes gh-22308
2019-03-17 23:01:44 +01:00
Sam Brannen
2b88c47477
Polish Javadoc for application event infrastructure
2019-03-17 20:21:47 +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
Sebastien Deleuze
495ba2f58c
Remove static import from InvocableHandlerMethod
...
See gh-19975
2019-03-15 19:38:14 +01:00
Sebastien Deleuze
9a81d0276e
Fix checkstyle issue
2019-03-15 19:02:33 +01:00
Sebastien Deleuze
1382220021
Add support for Deferred to ReactiveAdapterRegistry
...
See gh-19975
2019-03-15 18:22:19 +01:00
Sebastien Deleuze
1c9cbaf399
Introduce coroutinesVersion
...
See gh-19975
2019-03-15 18:22:06 +01:00
Sebastien Deleuze
22cf83edba
Add support for suspending handler methods in WebFlux
...
This commit turns Coroutines suspending methods to `Mono` which can be
handled natively by WebFlux.
See gh-19975
2019-03-15 18:21:50 +01:00
Sam Brannen
3cce85b402
Upgrade to latest Checkstyle Suppressions DTD
...
See https://github.com/checkstyle/checkstyle/blob/master/config/suppressions.xml
2019-03-15 16:49:41 +01:00
Sam Brannen
3967082c77
Upgrade to latest Checkstyle DTD
...
See http://checkstyle.sourceforge.net/config.html#Configuration_XML_Structure
2019-03-15 16:32:20 +01:00
Stephane Nicoll
a46a6e843b
Merge branch '5.1.x'
2019-03-15 10:51:59 +01:00
Stephane Nicoll
0552468998
Merge pull request #22597 from lwjli
...
* pr/22597:
Polish "Remove outdated link in documentation"
Remove outdated link in documentation
2019-03-15 10:51:41 +01:00
Stephane Nicoll
5e019e1769
Polish "Remove outdated link in documentation"
...
Closes gh-22597
2019-03-15 10:51:21 +01:00
lwjli
31a2b4ef46
Remove outdated link in documentation
...
See gh-22597
2019-03-15 10:50:13 +01:00
Sam Brannen
fef43048b2
Polish annotation-driven event listener support
2019-03-14 23:13:41 +01:00
Juergen Hoeller
0b53dbf38f
Allow usage of BeanNameGenerator in ImportBeanDefinitionRegistrars
...
Closes gh-22591
2019-03-14 17:35:04 +01:00
stsypanov
e94af52510
Use Arrays::fill instead of hand-written loop
2019-03-14 17:24:51 +01:00
stsypanov
29f382b04e
Simplify String concatenation
2019-03-14 17:24:33 +01: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
valery1707
9cf9d0fa21
Fix copy-n-paste error in Javadoc in ResponseEntityExceptionHandler
...
Closes gh-22589
2019-03-13 17:22:33 +01:00
Juergen Hoeller
840d80b994
Merge branch '5.1.x'
2019-03-13 16:24:01 +01:00
Juergen Hoeller
fcb3957884
Upgrade to Netty 4.1.34
2019-03-13 15:32:37 +01:00
Juergen Hoeller
fe56aa6fa4
Polishing
2019-03-13 15:32:24 +01:00
Juergen Hoeller
88049e9b5c
EventListenerMethodProcessor skips annotation search on java classes
...
Closes gh-22564
2019-03-13 15:32:14 +01:00
Sam Brannen
1e417146c9
Merge branch '5.1.x'
2019-03-13 15:28:58 +01:00
Sam Brannen
db56d348dc
Polishing
...
See gh-22577
2019-03-13 15:28:15 +01:00
Sam Brannen
f9e22a0f02
Merge branch '5.1.x'
2019-03-13 15:16:24 +01:00
Sam Brannen
8f7b118701
Ensure PDF version of Reference Manual does not contain HTML <strong> tags
...
Prior to this commit, the PDF version of the Spring Reference Manual
contained HTML <strong></strong> tags in code examples due to the fact
that Asciidoctor converts bold formatting (i.e., elements wrapped in
`**` or `*`) within source code blocks into HTML tags even for PDF
rendering.
This commit addresses this issue by removing all bold formatting from
example code blocks.
Closes gh-22577
2019-03-13 15:12:51 +01:00