Juergen Hoeller
4d2360e5b5
Defensively ignore multipart parsing failure in case of error dispatch
...
Issue: SPR-15231
(cherry picked from commit d44325e )
2017-02-16 14:19:57 +01:00
Stephane Nicoll
4f52174674
Update copyright header
...
Closes gh-1327
2017-02-14 10:41:03 +01:00
hengyunabc
7d7c5c9d9c
Fix typo
...
See gh-1327
2017-02-14 10:40:51 +01:00
Brian Clozel
08b9e7b83e
Avoid duplicate Content-Length headers in Netty client
...
This commit checks that a "Content-Length" request header isn't already
present before adding one in `Netty4ClientHttpRequestFactory`.
`HttpMessageConverter` implementations can write that request header so
the Netty request factory should only write that value when the header
is missing.
If that header is not written (and since we're not dealing with
the HTTP exchange in a chunked-based fashion), the HTTP client might not
send the request body at all.
Issue: SPR-15241
2017-02-13 21:19:51 +01:00
Juergen Hoeller
e24c530705
Upgrade to Undertow 1.3.27
2017-02-10 11:48:18 +01:00
Juergen Hoeller
5017c05c23
Polishing
...
(cherry picked from commit e9019cd )
2017-02-10 11:47:28 +01:00
Juergen Hoeller
6e93834e27
Correct explanation of example patterns
...
Issue: SPR-15240
(cherry picked from commit e1bb697 )
2017-02-10 11:47:10 +01:00
Juergen Hoeller
5f90a7eee9
Delegate to common ClassUtils.getQualifiedName
...
Issue: SPR-15237
(cherry picked from commit 81aca78 )
2017-02-10 11:47:00 +01:00
Juergen Hoeller
eff285eb3b
MockHttpServletRequest exposes "HTTP/1.1" as default protocol
...
Issue: SPR-15232
(cherry picked from commit ed85337 )
2017-02-10 11:46:42 +01:00
Juergen Hoeller
da7d79b3a1
Test for ObjectFactory injection at constructor level
...
Issue: SPR-15222
(cherry picked from commit 65d8d69 )
2017-02-10 11:46:32 +01:00
Juergen Hoeller
d6216fb74a
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
(cherry picked from commit 448ea4c )
2017-02-10 11:46:24 +01:00
Juergen Hoeller
941f3e7166
Clear synchronization before triggering afterCompletion callbacks
...
Issue: SPR-15194
Issue: SPR-11590
(cherry picked from commit b630c9b )
2017-02-10 11:46:13 +01:00
Stephane Nicoll
e80c251c7a
Update copyright header
2017-02-09 16:07:14 +01:00
Masayasu Yamamoto
56abc4a429
Fix Javadoc in ContentResultMatchers
...
Closes gh-1322
2017-02-09 16:07:05 +01:00
Stephane Nicoll
dde9e27630
Polish
2017-02-06 15:31:39 +01:00
Stephane Nicoll
15b174a522
Polish contribution
...
Closes gh-1292
Issue: SPR-15188
2017-02-06 15:31:31 +01:00
David Brimley
1fcb2608fb
Honour ErrorHandler if `Cache.put` fails
...
This commit makes sure that the `ErrorHandler` is invoked if the cache
fails to put an element (be it in the main cache or the exception cache).
See gh-1292
Issue: SPR-15188
2017-02-06 15:31:18 +01:00
Juergen Hoeller
c15d687bf0
Polishing
...
(cherry picked from commit acf511a )
2017-02-02 21:20:27 +01:00
Juergen Hoeller
e038631a6d
Support for read-only transactions through explicit SET TRANSACTION statement
...
Issue: SPR-15210
(cherry picked from commit 02195f5 )
2017-02-02 21:20:17 +01:00
Juergen Hoeller
d5daa8e3a7
Skip default Content-Length if Transfer-Encoding header has been set
...
Issue: SPR-15212
(cherry picked from commit 9b3131f )
2017-02-02 21:19:53 +01:00
Juergen Hoeller
6014ca9140
ServletRequestMethodArgumentResolver validates argument type match
...
Issue: SPR-15214
(cherry picked from commit e44533f )
2017-02-02 21:19:45 +01:00
Juergen Hoeller
d4010573af
MockHttpServletRequest returns empty BufferedReader in case of no content
...
Issue: SPR-15215
(cherry picked from commit 0da964f )
2017-02-02 21:16:44 +01:00
Juergen Hoeller
e3cd5c8ef0
SettableListenableFuture centralizes state in ListenableFutureTask subclass
...
Issue: SPR-15216
(cherry picked from commit c9b99da )
2017-02-02 21:16:36 +01:00
Juergen Hoeller
dec1c93b24
SettableListenableFuture consistently tracks cancellation state
...
Issue: SPR-15202
(cherry picked from commit 9666fcc )
2017-01-31 16:11:23 +01:00
Juergen Hoeller
3ef6697536
Refined assertion messages
...
Issue: SPR-15196
(cherry picked from commit 9b26fcd )
2017-01-31 16:07:09 +01:00
Juergen Hoeller
8207c53b9a
Polishing
2017-01-31 11:36:52 +01:00
Juergen Hoeller
e3be94c961
Add headers in InterceptingClientHttpRequest
...
This commit *adds* the "intercepted" headers to the ClientHttpRequest,
as opposed to replacing them, which is what happened before this commit.
Issue: SPR-15166
2017-01-31 11:32:21 +01:00
Juergen Hoeller
b40f016de2
Latest dependency updates (OkHttp 3.6, Apache HttpClient 4.5.3)
2017-01-31 10:29:21 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Spring Buildmaster
b386be1529
Next Development Version
2017-01-25 13:34:40 +00:00
Juergen Hoeller
a98a61852f
HandlerMethod pre-resolves parameter types at construction time
...
Issue: SPR-15186
(cherry picked from commit 8038fb9 )
2017-01-25 11:12:27 +01:00
Juergen Hoeller
3304efd64d
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Deprecating GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
(cherry picked from commit 5e946c2 )
2017-01-24 19:31:41 +01:00
Juergen Hoeller
b97e7d53bc
Revised CookieLocaleResolver parse exception handling
...
Issue: SPR-15182
(cherry picked from commit e8776f8 )
2017-01-24 19:28:47 +01:00
Juergen Hoeller
4af6d58d8d
Upgrade to Objenesis 2.5.1
...
Includes Hibernate ORM 5.2.7, Rome 1.7.1, Jetty 9.4.1, Undertow 1.3.26
Issue: SPR-15146
2017-01-23 23:47:22 +01:00
Juergen Hoeller
e2d06eaae5
Deprecate outdated abstractions/delegates in core/util
...
Issue: SPR-15159
2017-01-23 23:47:14 +01:00
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2 )
2017-01-23 23:47:01 +01:00
Juergen Hoeller
bddcc669b3
WebSocketSession.getExtensions consistently exposes unmodifiable/empty list
...
Issue: SPR-15180
(cherry picked from commit e94fa3f )
2017-01-23 23:33:04 +01:00
Juergen Hoeller
2024b37e65
HiddenHttpMethodFilter defensively proceeds with original request in case of error dispatch
...
Issue: SPR-15179
(cherry picked from commit a0df36d )
2017-01-23 23:32:20 +01:00
Juergen Hoeller
fb3191904a
DispatcherServet.checkMultipart considers MultipartException cause as well
...
Issue: SPR-15178
(cherry picked from commit ecc22f7 )
2017-01-23 23:31:55 +01:00
Juergen Hoeller
9e4d74c502
Consider abstract classes with @Lookup methods as candidate components
...
Issue: SPR-14550
(cherry picked from commit 7d3fcaa )
2017-01-23 23:31:31 +01:00
Juergen Hoeller
9b221f58b9
Document further configuration class restrictions
...
Issue: SPR-14602
(cherry picked from commit 6fe7e56 )
2017-01-23 23:31:03 +01:00
Juergen Hoeller
f7c3b814e3
Only expose ASM-driven method order if the methods match
...
Issue: SPR-14505
(cherry picked from commit 253060c )
2017-01-23 23:30:36 +01:00
Juergen Hoeller
155bbb8466
Clear nonAnnotatedClasses cache in afterSingletonsInstantiated
...
Issue: SPR-15175
(cherry picked from commit e566e25 )
2017-01-23 23:30:13 +01:00
Juergen Hoeller
4f690eea2a
Drop classes folder (accidentally added in 35b67a5)
2017-01-23 22:37:39 +01:00
Rossen Stoyanchev
70a1ecba7f
Documentation update related to Reactor version
...
Issue: SPR-15129
2017-01-23 15:02:01 -05:00
Rossen Stoyanchev
c8b0ff2fca
Add ExpectedCount#never()
...
Issue: SPR-15168
2017-01-20 17:11:09 -05:00
Stephane Nicoll
f9a4856c3b
Backport log4j doc improvements
...
Issue: SPR-15170
2017-01-20 17:38:20 +01:00
Brian Clozel
35b67a54d2
Upgrade to Tomcat 8.5.11
2017-01-20 09:55:33 +01:00
Rossen Stoyanchev
78a23be9bc
Polish Reactor2TcpStompClient
2017-01-18 11:46:36 -05:00
Juergen Hoeller
09c5958608
Polishing
2017-01-18 00:53:59 +01:00