Rossen Stoyanchev
f7548a87ed
Deprecations related to reactive type support in 5.0
...
Issue: SPR-15365
2017-04-03 09:26:46 -04:00
QBNemo
e0fe7cdc44
Fix typo
...
Closes gh-1354
2017-03-27 10:12:53 +02:00
Connor Lin
8289bf0aff
Remove a redundant word
...
Closes gh-1361
2017-03-27 10:10:14 +02:00
Grant Hutchins
79d747410d
Fix typo
...
Closes gh-1364
2017-03-27 10:05:49 +02:00
Brian Clozel
70bca99da8
VersionResourceResolver should delegate to the chain
...
Prior to this commit, the `VersionResourceResolver` implementation of
`resolveUrlPathInternal` would delegate to the resolver chain but would
never use the give result if the current request didn't match a
configured version strategy pattern.
This is a problem if the resolver supposed to resolve the resource path
is configured after a `VersionResourceResolver` in the resolver chain;
this means that other resolver never gets to participate in the result
of the chain.
Issue: SPR-15372
(cherry picked from commit fdd5031 )
2017-03-24 14:27:29 +01:00
Juergen Hoeller
83617f382c
Latest dependency updates (Hibernate ORM 5.2.9, Hibernate Validator 5.2.5, Undertow 1.3.28, Jetty 9.4.3, Joda-Time 2.9.9)
2017-03-24 13:41:57 +01:00
Juergen Hoeller
21ac764e5c
Polishing
2017-03-24 13:41:34 +01:00
Juergen Hoeller
c4fda0e811
Up-to-date guidelines for serialization-based endpoints
...
Issue: SPR-15317
(cherry picked from commit 2236262 )
2017-03-24 13:41:19 +01:00
Juergen Hoeller
66670cfd56
Clarification: Spring AOP pointcuts may match non-public methods
...
Issue: SPR-15354
(cherry picked from commit b90d3d0 )
2017-03-24 13:41:08 +01:00
Juergen Hoeller
c31bfe65aa
Drop outdated DeferredQueryInvocationHandler.finalize() implementation
...
Issue: SPR-15363
(cherry picked from commit b2a6a57 )
2017-03-24 13:40:58 +01:00
Juergen Hoeller
22ddb35258
HeaderValueHolder.toString() exposes underlying list of header values
...
Issue: SPR-15375
(cherry picked from commit 15bff8f )
2017-03-24 13:40:43 +01:00
Juergen Hoeller
d0177b0f55
Revised supportedMethods null handling in HttpRequestMethodNotSupportedException
...
Issue: SPR-15377
(cherry picked from commit 5ea4abd )
2017-03-24 13:40:35 +01:00
Juergen Hoeller
2233ec04ff
StandardMultipartFile.transferTo falls back to manual copy
...
Issue: SPR-15257
(cherry picked from commit b73153c )
2017-03-24 13:40:29 +01:00
Juergen Hoeller
e9ff3bb4e3
DefaultResponseErrorHandler delegate methods declared as protected
...
Also revises copyToByteArray/String in FileCopyUtils/StreamUtils for lenient null handling.
Issue: SPR-15329
(cherry picked from commit ab7db41 )
2017-03-24 13:40:19 +01:00
Juergen Hoeller
57c8c759ae
Avoid pattern misdetection in Tomcat "war:" URL separator
...
Issue: SPR-15332
(cherry picked from commit 012c56a )
2017-03-24 13:39:42 +01:00
Juergen Hoeller
cfd9b3461f
Process NULLABLE column as integer instead of boolean
...
Issue: SPR-15333
(cherry picked from commit 79ea779 )
2017-03-24 13:39:10 +01:00
Rossen Stoyanchev
d3324c8d4f
Trap exception from SockJS HeartbeatTask
...
Issue: SPR-15307
2017-03-16 18:02:44 -04:00
Rossen Stoyanchev
ffe9bae138
Update Javadoc on exception resolvers in MVC config
...
Issue: SPR-15324
2017-03-07 20:51:22 -05:00
Juergen Hoeller
020e51cb96
Polishing
...
(cherry picked from commit 94a7624 )
2017-03-07 16:04:46 +01:00
Juergen Hoeller
a78066830b
Retrieve newly created attribute from underlying request (marking it for update)
...
Issue: SPR-15300
(cherry picked from commit f30c498 )
2017-03-07 16:04:39 +01:00
Juergen Hoeller
77c771e874
Lookup methods work on configuration classes as well
...
Issue: SPR-15316
(cherry picked from commit fc2e635 )
2017-03-07 16:04:16 +01:00
Juergen Hoeller
227ac3faa4
Explicit notes on transaction phase processing
...
Issue: SPR-15323
(cherry picked from commit 8b74150 )
2017-03-07 16:04:09 +01:00
Juergen Hoeller
98dbc17591
Polishing
2017-03-07 10:33:48 +01:00
Juergen Hoeller
e58b17a3a1
Adapt to JRuby 9.1.7+ RubyException.getMessage() method at runtime
...
Issue: SPR-15322
2017-03-07 10:33:34 +01:00
Juergen Hoeller
9de97614a0
Adapt to HtmlUnit 2.25 getCharset() return type at runtime
...
Issue: SPR-15319
2017-03-07 10:33:26 +01:00
Juergen Hoeller
015e00b5dd
Upgrade to CGLIB 3.2.5
...
Includes Jetty 9.4.2, Netty 4.1.8, Commons I/O 1.4 as well.
Issue: SPR-15147
(cherry picked from commit 0d7b25f )
2017-03-07 10:23:57 +01:00
Stephane Nicoll
0bc59225d8
Polish contribution
...
Closes gh-1349
2017-03-05 09:35:09 +01:00
Aviskar Basnet
d8acc27afb
Polish doc
...
See gh-1349
2017-03-05 09:34:58 +01:00
Stephane Nicoll
a1e4afe338
Update copyright header
...
Closes gh-1343
2017-03-03 09:35:29 +01:00
nkjackzhang
3b9faee335
Remove unecessary "<<"
...
See gh-1343
2017-03-03 09:35:16 +01:00
Spring Buildmaster
0048ff84ea
Next Development Version
2017-03-01 08:53:20 +00:00
Juergen Hoeller
c3f131325d
Upgrade to Groovy 2.4.9
2017-02-28 14:01:09 +01:00
Juergen Hoeller
b945e0f202
Polishing
...
(cherry picked from commit 6d6cf01 )
2017-02-28 14:00:59 +01:00
Juergen Hoeller
ce3cf3251d
Tests for annotation lookups in interfaces (currently ignored for CGLIB proxies)
...
Issue: SPR-15271
Issue: SPR-14949
Issue: SPR-14322
(cherry picked from commit d003f66 )
2017-02-28 14:00:39 +01:00
Juergen Hoeller
d69fb06852
Skip transaction/caching metadata retrieval for java.lang.Object methods
...
Also retrieves CacheConfig as merged annotation now, aligned with other caching annotations.
Issue: SPR-15296
(cherry picked from commit d4a1b59 )
2017-02-28 14:00:33 +01:00
Rossen Stoyanchev
e9de3bb85b
Fix wrong access modifier in MockMvc standalone setup
...
Issue: SPR-15248
2017-02-23 16:12:14 -05:00
Juergen Hoeller
e6a51e3d29
Upgrade to Jackson 2.8.7
2017-02-22 16:32:51 +01:00
Juergen Hoeller
c734c3a3fe
Polishing
2017-02-22 16:32:21 +01:00
Juergen Hoeller
a48a956c0c
ConfigurationClassEnhancer explicitly handles non-interceptable FactoryBeans
...
Issue: SPR-15275
(cherry picked from commit 7fb0ad3 )
2017-02-22 16:31:48 +01:00
Juergen Hoeller
e5010a823b
Test for expected behavior of getAllMergedAnnotations vs findAllMergedAnnotations
...
Issue: SPR-15271
(cherry picked from commit 6108ab1 )
2017-02-22 16:31:40 +01:00
stonio
1db42081e5
Use String#isEmpty()
...
Closes gh-1335
(cherry picked from commit 7d062df )
2017-02-22 16:31:35 +01:00
Juergen Hoeller
34a0857628
Polishing
...
(cherry picked from commit d2cc97a )
2017-02-21 23:03:16 +01:00
Rossen Stoyanchev
ba0484fcac
Add equals/hashcode for STOMP Subscription
...
Issue: SPR-15229
2017-02-21 15:10:27 -05:00
Juergen Hoeller
f1133a8e56
Upgrade to Hibernate ORM 5.2.8
2017-02-20 23:15:41 +01:00
Juergen Hoeller
35e37f6b60
Polishing
2017-02-20 23:15:05 +01:00
Juergen Hoeller
f117b804a8
ServletRequestMethodArgumentResolver passes null references through (again)
...
Issue: SPR-15214
(cherry picked from commit fc11321 )
2017-02-20 23:14:54 +01:00
Stephane Nicoll
278199d467
Revert "Improve allowNullValue handling when a null value is provided"
...
This reverts commit fd568f3e96 .
2017-02-20 16:36:23 +01:00
Stephane Nicoll
fd568f3e96
Improve allowNullValue handling when a null value is provided
...
This commit improves `AbstractValueAdaptingCache` to throw a dedicated
exception if `allowNullValues` is `false` and a `null` value is provided
anyway. This avoid a lower-level exception from the cache library that
will miss some context.
Issue: SPR-15173
2017-02-20 16:24:34 +01:00
Brian Clozel
45b27a85f4
Ignore HEAD requests in ShallowEtagHeaderFilter
...
Prior to this commit, the `ShallowEtagHeaderFilter` could participate in
the response and set its ETag/Content-Length headers, even for HEAD
requests. Since the response body is empty, the filter implementation
would set a `"Content-Length: 0"`.
The RFC states that responses to HEAD requests should exhibit identical
response headers to GET (with the possible exception of payload related
headers such as Content-Length.
With this commit, `ShallowEtagHeaderFilter` now ignores HEAD requests
since the proper values may be set already for payload related headers
by the handler. The filter has no way to generate a proper ETag value
nor calculate the content length without the actual body.
Issue: SPR-15261
(cherry picked from commit b732251 )
2017-02-20 12:23:06 +01:00
Juergen Hoeller
0f71f58616
Polishing
2017-02-18 00:52:12 +01:00