Juergen Hoeller
fd75600c26
Polishing
8 years ago
Juergen Hoeller
f791b827ec
Correct 404 status code and refined resolution failure log message
8 years ago
Juergen Hoeller
a65c7ef780
Polishing
8 years ago
Juergen Hoeller
2a32c6cf57
Nullability refinements in spring-webmvc
...
Includes revision of web.servlet.tags.form for non-null conventions.
Issue: SPR-15540
(cherry picked from commit f74a631ea1 )
8 years ago
Juergen Hoeller
e214ee5c85
Backport of WebMvcConfigurationSupport javadoc revision
8 years ago
Juergen Hoeller
93ef169c5c
Polishing
8 years ago
Rossen Stoyanchev
24a113fb27
Ensure headers work with ResponseEntity + reactive body
...
Issue: SPR-17076
8 years ago
Rossen Stoyanchev
5007d01c17
Fix for encoding issue with MvcUriComponentsBuilder
...
Provide method for stronger encoding of expanded URI variables when
building links from views.
Issue: SPR-17027
8 years ago
Rossen Stoyanchev
f1c55a3b4a
UriComponentsBuilder method to configure URI variables
...
See Javadoc on UriComponentsBuilder#uriVariables for details.
This helps to prepare for SPR-17027 where the MvcUriComponentsBuilder
already does a partial expand but was forced to build UriComonents
and then create a new UriComponentsBuilder from it to continue. This
change makes it possible to stay with the same builder instance.
Issue: SPR-17027
8 years ago
Juergen Hoeller
c0040a5508
Polishing
8 years ago
Juergen Hoeller
ae1d500bc3
UrlBasedViewResolver exposes redirect prefix as bean name
...
Issue: SPR-17045
(cherry picked from commit b8d2a16 )
8 years ago
Rossen Stoyanchev
7ea8ecb6ab
Warn when SimpleAsyncTaskExecutor is used
...
Issue: SPR-16203
8 years ago
Juergen Hoeller
ea534b6820
Polishing
8 years ago
Juergen Hoeller
9a20ec9284
Polishing
8 years ago
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
8 years ago
Juergen Hoeller
75f26eec98
Fix FreeMarker escaping regression for messages and separators
...
Issue: SPR-16951
(cherry picked from commit 08e1c8c )
8 years ago
Sebastien Deleuze
b80c13b722
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
8 years ago
Juergen Hoeller
bbe5124556
Polishing
8 years ago
Rossen Stoyanchev
051ab05d32
Properly initialize URI/Matrix vars w/ urlDecode=false
...
Issue: SPR-16867
8 years ago
Juergen Hoeller
2da02ccbd0
Polishing
...
(cherry picked from commit 70424a7 )
8 years ago
Juergen Hoeller
f2cc70ecf9
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
b4f83dbdc3
Polishing
8 years ago
Juergen Hoeller
0795ae5c6a
Polishing
8 years ago
Juergen Hoeller
ed44262a71
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
(cherry picked from commit 7b894fe )
8 years ago
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1 )
8 years ago
Johnny Lim
c6b60f0c00
Polish
8 years ago
Rossen Stoyanchev
a5622d0dd2
Validate contextPath in RedirectView
...
Issue: SPR-16752
8 years ago
Brian Clozel
72cfe41f30
Disable HTTP Range support for InputStreamResource
...
Prior to this commit, the `AbstractMessageConverterMethodProcessor`
would fail to convert `InputStreamResource` to `ResourceRegion` as
expected, since the content length cannot be read without consuming the
stream. This is enforced by the `HttpRange` class.
Now the method processor would still try to output HTTP range response
headers to provide range support information. This step is using the
resource content length and reads the input stream, leading to
exceptions such as "IllegalStateException: InputStream has already been
read".
This commit improves the return type detection and excludes early
`InputStreamResource` return types. With those types, HTTP range support
is now completely disabled.
Issue: SPR-16754
(cherry picked from commit e9a8a5065b )
8 years ago
sdeleuze
2c766b9501
Enable KotlinScriptTemplateTests after KT-18833 fix
8 years ago
Juergen Hoeller
cd79966c52
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
(cherry picked from commit 7ee6130 )
8 years ago
Juergen Hoeller
861b9dc938
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Includes direct use of ControllerMethodInvocationInterceptor for return type Object, avoiding the attempt to generate an Object subclass.
Issue: SPR-16710
(cherry picked from commit f28a5d0 )
8 years ago
Juergen Hoeller
8a9321652d
Refined javadoc
8 years ago
Juergen Hoeller
912c270f2b
Polishing
8 years ago
Juergen Hoeller
6393e5ce0c
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
8 years ago
Rossen Stoyanchev
b1048975d2
Minor updates based on PR#1058
...
The original repo no longer exists:
https://github.com/spring-projects/spring-framework/pull/1058
8 years ago
Rossen Stoyanchev
240d6f52c9
Replaces rather than prepend contextPath
...
Issue: SPR-16650
8 years ago
Rossen Stoyanchev
dd96c873e3
Improve docs on forwarded headers
...
Issue: SPR-16660
8 years ago
Juergen Hoeller
b165475eb6
Polishing
8 years ago
Juergen Hoeller
695bf2961f
Consistent trace logging in PathResourceResolver
...
Issue: SPR-16616
8 years ago
igor-suhorukov
e6020ed377
avoid unnecessary autoboxing
8 years ago
igor-suhorukov
4aae6a6dda
Use Map.forEach instead of manual Map.Entry iteration wherever possible SPR-16646
8 years ago
Rossen Stoyanchev
f3994467c4
Refine ContentNegotiationStrategy contract
...
Consistently return "*/*" if no media types were requested rather than
an empty list. Existing code has to check for both in any case to see
if nothing was requested.
Issue: SPR-16624
8 years ago
Juergen Hoeller
98ad23bef8
Consistent logging of encoded path evaluation failure
...
Issue: SPR-16616
8 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
8 years ago
Juergen Hoeller
f59ea610df
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
8 years ago
Juergen Hoeller
c1405ef140
Polishing
8 years ago
Juergen Hoeller
91b803a231
Consistent encoded path evaluation in ResourceHttpRequestHandler and co
...
Issue: SPR-16616
8 years ago
Rossen Stoyanchev
0e28bee0f1
Clean duplicate separators in resource URLs
...
Most Servlet containers do this anyway, but not all, and not
consistently for forward and backslashes.
Issue: SPR-16616
8 years ago
Juergen Hoeller
f8588e364a
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
8 years ago
Juergen Hoeller
58011f71e9
Consistent assertions for template method result vs servlet registration
8 years ago