Sebastien Deleuze
874859493b
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
2018-06-08 12:33:27 +02:00
Juergen Hoeller
70424a7e3d
Polishing
2018-05-08 00:12:18 +02:00
Juergen Hoeller
318d04cd2b
Explicit coverage of root vs cause exception matching in MVC ref docs
...
Issue: SPR-16743
(cherry picked from commit a200df6 )
2018-05-08 00:02:56 +02:00
Juergen Hoeller
d9ff109b0f
Polishing
...
(cherry picked from commit b4f83db )
2018-05-07 15:01:22 +02:00
Juergen Hoeller
c99a104919
Polishing
2018-05-05 16:36:52 +02:00
Juergen Hoeller
193c289080
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
(cherry picked from commit 7b894fe )
2018-05-05 16:32:08 +02:00
Rossen Stoyanchev
3502f6fdc2
Validate contextPath in RedirectView
...
Issue: SPR-16752
2018-04-23 15:27:22 -04:00
Juergen Hoeller
ac19c696fe
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
(cherry picked from commit 7ee6130 )
2018-04-12 21:37:39 +02:00
Juergen Hoeller
98536e1387
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Issue: SPR-16710
2018-04-11 16:50:38 +02:00
Juergen Hoeller
49eafe4261
Polishing
2018-03-31 19:54:12 +02:00
Juergen Hoeller
1cbc353dd1
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
...
(cherry picked from commit 6393e5c )
2018-03-31 17:02:41 +02:00
Rossen Stoyanchev
986d219391
Replaces rather than prepend contextPath
...
Issue: SPR-16650
2018-03-29 18:26:31 -04:00
Rossen Stoyanchev
de4da5ea4e
Improve docs on forwarded headers
...
Issue: SPR-16660
2018-03-29 16:26:58 -04:00
Juergen Hoeller
bcda243f63
Polishing
2018-03-29 17:34:28 +02:00
Juergen Hoeller
9cc03fa8b0
Polishing
2018-03-28 02:03:31 +02:00
Juergen Hoeller
f046a066ec
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
2018-03-28 01:22:01 +02:00
Juergen Hoeller
6e1cac9145
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
2018-03-28 01:21:36 +02:00
Rossen Stoyanchev
b9ebdaaf37
Backport clean duplicate separators in resource URLs
...
Issue: SPR-16616
2018-03-21 23:18:36 -04:00
Brian Clozel
6fa9539ae2
Don't implicitly check preconditions on PUT requests
...
Prior to this commit, the `HttpEntityMethodProcessor` would check HTTP
conditions on non-safe requests (i.e. not GET/HEAD). This would prevent
Controllers from returning `ResponseEntity` containing response headers
with updated values of `"Last-Modified"` or `ETag` once the resource has
been updated.
This commit avoids those checks for non GET/HEAD requests - this code
can still be leveraged from Controllers themselves using
`ServletWebRequest::checkNotModified` methods.
Issue: SPR-15780
(cherry picked from ed7684d2b2 )
2018-03-08 20:10:25 +01:00
Juergen Hoeller
b70d400c71
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
2018-03-07 16:54:04 +01:00
Juergen Hoeller
346d0e271d
Polishing
2018-03-07 16:24:40 +01:00
Brian Clozel
56fdda167e
Guard against invalid paths in ResourceUrlProvider
...
This commit makes sure that no `StringIndexOutOfBoundsException` is
thrown when `getForRequestUrl` is called with a URL that's shorter than
the expected context path.
Issue: SPR-16526
(cherry picked from commit 6d26e61ac7 )
2018-03-05 15:28:36 +01:00
Juergen Hoeller
1f12214b45
Polishing
2018-03-02 13:11:31 +01:00
Rossen Stoyanchev
fb22915563
Correct log level
...
Issue: SPR-16528
2018-03-01 15:58:20 -05:00
Juergen Hoeller
c5c27f2963
Polishing
2018-03-01 01:48:26 +01:00
Juergen Hoeller
8e68ac44d2
Polishing
2018-03-01 01:12:30 +01:00
Juergen Hoeller
2c45b09263
Polishing
2018-02-28 15:08:09 +01:00
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
2018-02-25 21:44:00 +01:00
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
2018-02-22 14:27:57 +01:00
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
2018-02-18 22:28:37 +01:00
Juergen Hoeller
87abdb92da
Polishing
2018-02-16 21:02:00 +01:00
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
2018-02-16 19:48:43 +01:00
Juergen Hoeller
350f318d2e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
(cherry picked from commit 6d75732 )
2018-02-16 19:47:44 +01:00
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
2018-02-14 16:38:28 +01:00
Juergen Hoeller
5ba37762fe
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
(cherry picked from commit 46cbdff )
2018-02-14 16:38:21 +01:00
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
2018-02-12 13:45:53 +01:00
Juergen Hoeller
8fda96cadb
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
(cherry picked from commit 4dc9645 )
2018-02-12 13:42:33 +01:00
Juergen Hoeller
03b2d9399e
Polishing
2018-01-22 21:39:16 +01:00
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
2018-01-22 13:08:03 +01:00
Juergen Hoeller
8c499cb10b
Polishing
2017-11-26 17:56:35 +01:00
Juergen Hoeller
f09e252417
Polishing
2017-11-21 15:25:33 +01:00
Juergen Hoeller
122a3fe9fd
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
...
(cherry picked from commit 20fcefc )
2017-11-20 13:32:50 +01:00
Rossen Stoyanchev
2a309a031a
Revise charset by location support for static resources
2017-11-17 12:55:11 -05:00
Juergen Hoeller
03fef655ff
Restored support for placeholders in mvc namespace resource locations
...
With the recent charset mechanism in place, we cannot rely on implicit placeholder parsing during String-to-Resource conversion anymore.
(cherry picked from commit 7af9910 )
2017-11-16 10:03:14 +01:00
Juergen Hoeller
640c8ff693
Polishing
2017-11-14 12:31:01 +01:00
Rossen Stoyanchev
9470719cdb
Support charset config by (static) resource location
...
This commit adds support for configuring static resource locations
with a charset to be applied to relative paths.
2017-11-09 14:51:49 -05:00
Rossen Stoyanchev
97bc2762e1
Handle errors via AsyncListener
...
This is a limited backport of commit #e0678b mainly providing the fix without
exposing the onError callbacks.
Issue: SPR-16058
2017-11-08 23:10:16 -05:00
Juergen Hoeller
c92393b168
Compatibility with OpenPDF as alternative to iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit 9efdadc )
2017-10-24 14:34:37 +02:00
Juergen Hoeller
40f3fb20c2
SchedulingConfigurer and JmsListenerConfigurer respect @Order
...
Issue: SPR-16090
2017-10-23 19:03:30 +02:00
Juergen Hoeller
b0ae8f6058
ModelAttributeMethodProcessor detects re-enabled binding declaration
...
Issue: SPR-16083
(cherry picked from commit bec1fc1 )
2017-10-18 13:29:41 +02:00