Juergen Hoeller
fa8acfafbf
Polishing
8 years ago
Sebastien Deleuze
874859493b
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
8 years ago
Juergen Hoeller
70424a7e3d
Polishing
8 years ago
Juergen Hoeller
318d04cd2b
Explicit coverage of root vs cause exception matching in MVC ref docs
...
Issue: SPR-16743
(cherry picked from commit a200df6 )
8 years ago
Juergen Hoeller
d9ff109b0f
Polishing
...
(cherry picked from commit b4f83db )
8 years ago
Juergen Hoeller
c99a104919
Polishing
8 years ago
Juergen Hoeller
193c289080
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
(cherry picked from commit 7b894fe )
8 years ago
Rossen Stoyanchev
3502f6fdc2
Validate contextPath in RedirectView
...
Issue: SPR-16752
8 years ago
Juergen Hoeller
ac19c696fe
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
(cherry picked from commit 7ee6130 )
8 years ago
Juergen Hoeller
98536e1387
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Issue: SPR-16710
8 years ago
Juergen Hoeller
49eafe4261
Polishing
8 years ago
Juergen Hoeller
1cbc353dd1
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
...
(cherry picked from commit 6393e5c )
8 years ago
Rossen Stoyanchev
986d219391
Replaces rather than prepend contextPath
...
Issue: SPR-16650
8 years ago
Rossen Stoyanchev
de4da5ea4e
Improve docs on forwarded headers
...
Issue: SPR-16660
8 years ago
Juergen Hoeller
bcda243f63
Polishing
8 years ago
Juergen Hoeller
9cc03fa8b0
Polishing
8 years ago
Juergen Hoeller
f046a066ec
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
8 years ago
Juergen Hoeller
6e1cac9145
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
8 years ago
Rossen Stoyanchev
b9ebdaaf37
Backport clean duplicate separators in resource URLs
...
Issue: SPR-16616
8 years ago
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 )
8 years ago
Juergen Hoeller
b70d400c71
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
8 years ago
Juergen Hoeller
346d0e271d
Polishing
8 years ago
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 )
8 years ago
Juergen Hoeller
1f12214b45
Polishing
8 years ago
Rossen Stoyanchev
fb22915563
Correct log level
...
Issue: SPR-16528
8 years ago
Juergen Hoeller
c5c27f2963
Polishing
8 years ago
Juergen Hoeller
8e68ac44d2
Polishing
8 years ago
Juergen Hoeller
2c45b09263
Polishing
8 years ago
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
8 years ago
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
8 years ago
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
8 years ago
Juergen Hoeller
87abdb92da
Polishing
8 years ago
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
8 years ago
Juergen Hoeller
350f318d2e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
(cherry picked from commit 6d75732 )
8 years ago
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
8 years ago
Juergen Hoeller
5ba37762fe
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
(cherry picked from commit 46cbdff )
8 years ago
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
8 years ago
Juergen Hoeller
8fda96cadb
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
(cherry picked from commit 4dc9645 )
8 years ago
Juergen Hoeller
03b2d9399e
Polishing
8 years ago
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
8 years ago
Juergen Hoeller
8c499cb10b
Polishing
8 years ago
Juergen Hoeller
f09e252417
Polishing
8 years ago
Juergen Hoeller
122a3fe9fd
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
...
(cherry picked from commit 20fcefc )
8 years ago
Rossen Stoyanchev
2a309a031a
Revise charset by location support for static resources
8 years ago
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 )
8 years ago
Juergen Hoeller
640c8ff693
Polishing
8 years ago
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.
8 years ago
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
8 years ago
Juergen Hoeller
c92393b168
Compatibility with OpenPDF as alternative to iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit 9efdadc )
8 years ago
Juergen Hoeller
40f3fb20c2
SchedulingConfigurer and JmsListenerConfigurer respect @Order
...
Issue: SPR-16090
8 years ago