Commit Graph

11676 Commits

Author SHA1 Message Date
Juergen Hoeller
8174f3bfca Polishing
(cherry picked from commit 29a9461)
2016-10-12 18:10:04 +02:00
Juergen Hoeller
aff5d211f4 StompSubProtocolHandler does not insist on SimpMessageHeaderAccessor
Issue: SPR-14791
(cherry picked from commit f5cd538)
2016-10-12 18:09:53 +02:00
Stephane Nicoll
fe59bc26ab Polish EnableAsync javadoc
Issue: SPR-14793
(cherry picked from commit 7a8bf8e)
2016-10-12 18:09:42 +02:00
Brian Clozel
306452720f Fix NumberFormatException with X-Forwarded-Host
This commit fixes `NumberFormatException`s that were thrown when parsing
IPv6 host values in `X-Forwarded-Host` request headers.

Issue: SPR-14761
(cherry picked from ea5ff87)
2016-10-07 23:30:36 +02:00
Juergen Hoeller
ea9e00f819 Consistent final logger fields
(cherry picked from commit f2ac416)
2016-10-06 00:49:54 +02:00
Juergen Hoeller
1f92fc8d90 @Lookup reference documentation
Issue: SPR-14765
(cherry picked from commit 642fbfb)
2016-10-06 00:49:45 +02:00
Juergen Hoeller
8bdb1b0981 Polishing
(cherry picked from commit d04567b)
2016-09-26 18:48:44 +02:00
Juergen Hoeller
02d83cedea Efficient STOMP content-length header check
Issue: SPR-14747
(cherry picked from commit f2e1e1b)
2016-09-26 17:36:11 +02:00
Juergen Hoeller
6577faa2da StompEncoder performance improvement plus related polishing
Issue: SPR-14747
(cherry picked from commit 6c764f6)
2016-09-26 16:57:21 +02:00
Juergen Hoeller
c5722b336c Clarified that getResource never returns null
(cherry picked from commit 49929f1)
2016-09-26 16:57:16 +02:00
Juergen Hoeller
e54a7ed6d4 Polishing 2016-09-22 15:33:38 +02:00
Juergen Hoeller
1067855f0f Upgrade to Hibernate 5.0.11 and Undertow 1.3.25 2016-09-22 15:33:31 +02:00
Spring Buildmaster
964f40f2b4 Next Development Version 2016-09-19 14:43:18 +00:00
Rossen Stoyanchev
62b02c23ab Reset connection before delegating to handler
Resetting the connection first before invoking a failure callback on
the application handler ensures that any checks to isConnected will
return false.

Issue: SPR-14721
2016-09-19 09:04:55 -04:00
Juergen Hoeller
a0773aef1d Polishing 2016-09-18 21:24:19 +02:00
Juergen Hoeller
cc56ef5737 Revised checkResource implementation
Issue: SPR-14729
(cherry picked from commit ca17edd)
2016-09-18 21:24:11 +02:00
Brian Clozel
97c9b05c15 Check template availability in ScriptTemplateView
This commit overrides the `checkResource` implementation in
`ScriptTemplateView` in order to check if the template file resource is
available and if the resolver can then proceed with rendering the
template.

Issue: SPR-14729
2016-09-17 22:18:55 +02:00
Juergen Hoeller
ed19dc7900 Polishing 2016-09-16 11:18:50 +02:00
Juergen Hoeller
7902f63cb1 Latest applicable dependency updates (Woodstox 5.0.3, Jettison 1.3.8) 2016-09-16 11:07:45 +02:00
Juergen Hoeller
818c72a2b3 StringUtils.parseLocaleString accepts Java 7 variants
Issue: SPR-14718
(cherry picked from commit 7ddaf49)
2016-09-16 11:07:26 +02:00
Juergen Hoeller
c9943aacc5 Timeout exceptions as RuntimeExceptions
Issue: SPR-14669
(cherry picked from commit e947363)
2016-09-15 10:05:04 +02:00
Rossen Stoyanchev
9fa2a46d35 Improve async request timeout handling
Rather than setting the status to 503 directly from the timeout
interceptor which no longer seems to work reliably with Servlet
containers like Jetty even performing an additional ERROR dispatch back
to the original URL, we know rather set the DeferredResult to an
AsyncTimeoutException, which results in a dispatch and standard
handling within Spring MVC. This should be a more reliable way of
dealing with timeouts.

Issue: SPR-14669
2016-09-14 21:37:30 -04:00
Rossen Stoyanchev
114b2b63b1 Check both connection and connected flag
Issue: SPR-14703
2016-09-14 17:26:13 -04:00
Juergen Hoeller
404e7cda7e Polishing 2016-09-13 23:31:09 +02:00
Juergen Hoeller
b344c927bd Polishing
(cherry picked from commit 040d131)
2016-09-13 22:59:09 +02:00
Juergen Hoeller
883c3a6b4f Revised IllegalArgumentException handling for Formatter parse calls
Issue: SPR-14661
(cherry picked from commit 73bbe08)
2016-09-13 22:58:58 +02:00
Juergen Hoeller
68332bf240 Correct ISO DateTime example
Issue: SPR-14675
(cherry picked from commit db196ce)
2016-09-13 22:58:01 +02:00
Juergen Hoeller
53fc1e96c6 Avoid outdated Tibco workaround in shouldCommitAfterNoMessageReceived
Issue: SPR-14697
(cherry picked from commit 4396b21)
2016-09-13 22:57:39 +02:00
Juergen Hoeller
53dc996be8 PropertyValue stores source object in common superclass field
Issue: SPR-8337
(cherry picked from commit 367949e)
2016-09-13 22:57:29 +02:00
Juergen Hoeller
338a4a581e MappingJackson2MessageConverter adds message id and destination to type resolution exception
Issue: SPR-14672
(cherry picked from commit ae2bbe7)
2016-09-13 22:57:22 +02:00
Juergen Hoeller
1bde1ff263 Documentation updates around configuration classes
(cherry picked from commit efb5f17)
2016-09-01 13:00:13 +02:00
Juergen Hoeller
5f55add4bb ResolvableType.java.forRawClass(Class) supports isAssignableFrom(ResolvableType) as well
Issue: SPR-14648
(cherry picked from commit 086e764)
2016-08-31 15:30:12 +02:00
Juergen Hoeller
a3b94eb17c Upgrade to Netty 4.0.41 2016-08-31 01:31:33 +02:00
Juergen Hoeller
458d49bdb8 Polishing
(cherry picked from commit acbb254)
2016-08-31 01:31:06 +02:00
Juergen Hoeller
e76ed49513 CommonsMultipartResolver explicitly converts FileSizeLimitExceededException
Issue: SPR-14638
(cherry picked from commit 05f74b4)
2016-08-31 01:31:01 +02:00
Juergen Hoeller
aa12288d50 Avoid collection lookups in StompCommand
Issue: SPR-14636
(cherry picked from commit 8e98177)
2016-08-31 01:30:55 +02:00
Rossen Stoyanchev
cc33bfaf61 Support receipt on DISCONNECT with simple broker
Issue: SPR-14568
2016-08-29 18:32:33 -04:00
Rossen Stoyanchev
91387a5ae7 Harden synchronization around SockJS heartbeats
Create an explicit heartbeat task with an experiration flag so that
it can be cancelled reliably vs relying on the ScheduledFutureTask
cancel method which may return true even if the task is already
running.

Issue: SPR-14356
2016-08-29 14:17:27 -04:00
Juergen Hoeller
5b0722ed28 Polishing
(cherry picked from commit e828be9)
2016-08-26 18:10:43 +02:00
Juergen Hoeller
2adbfb6d02 Avoid getParameterType use with Oracle 12c driver by default
Issue: SPR-14629
Issue: SPR-14574
Issue: SPR-14191
(cherry picked from commit 52447ef)
2016-08-26 18:10:34 +02:00
Juergen Hoeller
d03afeb296 Consistent use of Charset.forName over JDK 7 StandardCharsets in 4.x line
(cherry picked from commit 2a82b8f)
2016-08-26 18:10:27 +02:00
Juergen Hoeller
f4037bf522 Polishing 2016-08-24 23:50:19 +02:00
Juergen Hoeller
db037e490a Revised assertions in StompHeaderAccessor
Issue: SPR-14625
(cherry picked from commit c2feedb)
2016-08-24 23:49:22 +02:00
Juergen Hoeller
3811a595ed Avoid unnecessary String concatenation in StompSubProtocolHandler
Issue: SPR-14624
(cherry picked from commit 0735e9b)
2016-08-24 23:49:12 +02:00
Juergen Hoeller
2a9ca66cee Restored hard reference cache in TransactionAspectSupport for 4.2.8
Issue: SPR-14511
Issue: SPR-14609
2016-08-24 14:52:52 +02:00
Juergen Hoeller
081c3ac44f Polishing 2016-08-24 12:46:30 +02:00
Juergen Hoeller
aac0e632ae Various @since tags (and varargs on setInterceptors) 2016-08-18 12:31:21 +02:00
Juergen Hoeller
96f1a0ecae Polishing 2016-08-18 10:50:56 +02:00
Juergen Hoeller
78049d3d25 Polishing 2016-08-17 22:26:03 +02:00
Juergen Hoeller
f4d45ddbf7 Upgrade to EhCache 3.0.3 2016-08-17 21:13:39 +02:00