Juergen Hoeller
c9943aacc5
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
(cherry picked from commit e947363 )
2016-09-15 10:05:04 +02:00
Rossen Stoyanchev
9fa2a46d35
Improve async request timeout handling
...
Rather than setting the status to 503 directly from the timeout
interceptor which no longer seems to work reliably with Servlet
containers like Jetty even performing an additional ERROR dispatch back
to the original URL, we know rather set the DeferredResult to an
AsyncTimeoutException, which results in a dispatch and standard
handling within Spring MVC. This should be a more reliable way of
dealing with timeouts.
Issue: SPR-14669
2016-09-14 21:37:30 -04:00
Juergen Hoeller
458d49bdb8
Polishing
...
(cherry picked from commit acbb254 )
2016-08-31 01:31:06 +02:00
Juergen Hoeller
e76ed49513
CommonsMultipartResolver explicitly converts FileSizeLimitExceededException
...
Issue: SPR-14638
(cherry picked from commit 05f74b4 )
2016-08-31 01:31:01 +02:00
Juergen Hoeller
5b0722ed28
Polishing
...
(cherry picked from commit e828be9 )
2016-08-26 18:10:43 +02:00
Juergen Hoeller
081c3ac44f
Polishing
2016-08-24 12:46:30 +02:00
Juergen Hoeller
aac0e632ae
Various @since tags (and varargs on setInterceptors)
2016-08-18 12:31:21 +02:00
Juergen Hoeller
de91b1a8a0
Polishing
...
(cherry picked from commit b9a2d0a )
2016-08-17 21:10:17 +02:00
Juergen Hoeller
22ca7ac927
Polishing
...
(cherry picked from commit c926ec4 )
2016-08-17 18:04:00 +02:00
Juergen Hoeller
7b33cd6476
Polishing
...
(cherry picked from commit 67ba187 )
2016-08-10 15:50:47 +02:00
Juergen Hoeller
b5127dc152
Polishing
2016-07-20 22:16:35 +02:00
Rossen Stoyanchev
a9136d9638
Remove isAsyncStarted assertion
...
Issue: SPR-14444
2016-07-19 16:44:59 -04:00
Juergen Hoeller
392f9c8deb
Javadoc fixes and pruning of deprecated references
...
(cherry picked from commit 69dd40e )
2016-07-15 23:01:14 +02:00
Juergen Hoeller
82ca2011e3
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
(cherry picked from commit 5c3c0f7 )
2016-07-15 17:08:06 +02:00
Juergen Hoeller
0445ce6c53
Polishing (backported from master)
...
(cherry picked from commit 92d78c1 )
2016-07-06 17:35:30 +02:00
Stephane Nicoll
d73f91eaf0
Polish
...
Closes gh-1097
(cherry picked from commit 037746d )
2016-07-01 15:40:06 +02:00
Juergen Hoeller
833ed7168e
Add missing package-info files for common packages
...
Issue: SPR-14420
(cherry picked from commit 66ec1c1 )
2016-06-30 21:43:29 +02:00
Juergen Hoeller
3680ec5a0d
Polishing
2016-06-09 17:21:23 +02:00
Juergen Hoeller
9ac661df82
Polishing
2016-06-08 14:13:22 +02:00
Juergen Hoeller
7001707028
CorsFilter asserts presence of CorsConfigurationSource
...
(cherry picked from commit 31aed61 )
2016-06-07 16:50:24 +02:00
Juergen Hoeller
9a41774364
Fixed @since references after SPR-14080 backport
...
Issue: SPR-14305
2016-06-07 13:35:19 +02:00
Juergen Hoeller
d0b2fe5e8c
Allow JAXB to be registered next to plain Jackson
...
Issue: SPR-14336
(cherry picked from commit abcfffd )
2016-06-07 13:30:11 +02:00
Juergen Hoeller
f36070b560
Polishing
...
(cherry picked from commit 521c41d )
2016-06-02 17:14:07 +02:00
Juergen Hoeller
899131997e
Less restrictive CORS origin comparison
...
UriComponentsBuilder allows more efficient (and less restrictive) CORS
origin comparison.
Also introduces a specifically narrowed cloneBuilder() method for
UriComponentsBuilders.
Cherry-picked from 9a52c8.
Issue: SPR-14080
2016-05-31 12:25:16 -04:00
Juergen Hoeller
f64ed69280
ServletServerHttpRequest.getHeaders() ignores invalid content type
...
Issue: SPR-14309
(cherry picked from commit f7f2327 )
2016-05-31 13:21:46 +02:00
Juergen Hoeller
0f2bc3f6bf
AbstractRequestLoggingFilter ignores non-available query string
...
Issue: SPR-14244
(cherry picked from commit 08ddd1b )
2016-05-04 18:44:04 +02:00
Juergen Hoeller
a6563a3263
Explicit note on Java deserialization
...
(cherry picked from commit 76964e1 )
2016-05-03 18:46:40 +02:00
Juergen Hoeller
6a3d4940b5
SpringServletContainerInitializer does not log WebApplicationInitializer class names
...
Issue: SPR-14213
(cherry picked from commit f73df2e )
2016-04-27 21:41:44 +02:00
Juergen Hoeller
1d39c97def
Downgrade to Protobuf Java Format 1.2
...
Issue: SPR-14171
2016-04-14 15:54:52 +02:00
Juergen Hoeller
334b4a99b0
Jackson-based message converters consistently check media type first
...
Issue: SPR-14163
2016-04-14 14:22:23 +02:00
Juergen Hoeller
416a24c6bc
Avoid unnecessary GenericHttpMessageConverter re-declaration
...
(cherry picked from commit 96875fe )
2016-04-13 19:02:52 +02:00
Juergen Hoeller
7f438dc9aa
Consistent headers.getContentLength() checks
2016-04-13 18:44:56 +02:00
Juergen Hoeller
bf3cadb908
AbstractJackson2HttpMessageConverter's canRead/canWrite checks media type first before delegating to Jackson
...
Issue: SPR-14163
(cherry picked from commit e366746 )
2016-04-13 18:44:13 +02:00
Juergen Hoeller
e0642c77c3
HttpHeaders consistently ignores invalid date header values
...
Issue: SPR-14144
(cherry picked from commit 448621a )
2016-04-11 20:52:43 +02:00
Juergen Hoeller
d303ac94dc
Polishing
2016-04-11 12:22:37 +02:00
Juergen Hoeller
aa5c12c534
Polishing
2016-04-08 22:52:36 +02:00
Juergen Hoeller
8f6ede519d
RequestHeaderMapMethodArgumentResolver defensively checks for non-existing header values
...
Issue: SPR-14091
(cherry picked from commit b2a17ba )
2016-03-30 10:46:33 +02:00
Juergen Hoeller
0891fbaf97
Consistent formatting
2016-03-24 19:54:28 +01:00
Juergen Hoeller
2ea7fcde3e
Polishing
...
(cherry picked from commit 9af12d2 )
2016-03-24 17:17:58 +01:00
Juergen Hoeller
a19be754c8
DefaultCorsProcessor checks for existing CORS response before attempting to compare origin
...
Issue: SPR-14080
(cherry picked from commit abe7345 )
2016-03-24 17:17:04 +01:00
Rossen Stoyanchev
d7062f6291
Ensure RedirectModel is initialized
...
This commit fixes an old bug in ModelAndViewContainer where getModel
returns a new ModelMap instance that isn't saved and re-used.
Issue: SPR-14045
2016-03-14 23:04:58 -04:00
Juergen Hoeller
9c5cabf4ba
Refined ApplicationContextInitializer assignability exception
...
(cherry picked from commit ca19920 )
2016-02-24 17:58:29 +01:00
Juergen Hoeller
a620770470
Polishing
2016-02-19 16:02:25 +01:00
Sebastien Deleuze
09db26af2b
Improve Jackson 2.7 compatibility
...
This commit introduces a conditional call in
AbstractJackson2HttpMessageConverter#getJavaType() in order to avoid
calling TypeFactory#constructType() with a null contextClass parameter,
since this is not supported by Jackson 2.7 anymore.
It allows to use Spring Framework 4.2.x with Jackson 2.7.1+ for most use
cases, but with some limitations. For example, with Jackson 2.7
TypeVariable resolution from method parameters does not work.
As a consequence, after this commit Spring Framework 4.2.x still fully
supports Jackson up to version 2.6, but improves Jackson 2.7 compatibility.
Full support for Jackson 2.7 is provided as of Spring Framework 4.3.x.
Issue: SPR-13853
2016-02-11 13:45:49 +01:00
Juergen Hoeller
19c5462b13
Polishing
2016-02-10 20:48:10 +01:00
Rossen Stoyanchev
b1a46ccbd9
Fix NPE in InvocableHandlerMethod
...
Issue: SPR-13917
2016-02-04 23:33:04 -05:00
Rossen Stoyanchev
39c05c56c4
BufferedImage converter writes Content-Type again
...
Issue: SPR-13906
2016-02-04 15:01:13 -05:00
Juergen Hoeller
30ef893c28
Polishing
2016-01-26 22:23:56 +01:00
Rossen Stoyanchev
ab16adab2e
Avoid double encoding URI in ServletServerHttpRequest
...
Issue: SPR-13876
2016-01-20 17:58:07 -05:00
Ian Chan
29692fcc21
Catch RejectedExecutionException in WebAsyncManager
...
Issue: SPR-13836
2016-01-14 15:50:20 -05:00