Commit Graph

965 Commits

Author SHA1 Message Date
Juergen Hoeller
86614afb1a Consistent DeferredResultHandler invocation outside of result lock
Issue: SPR-14978
(cherry picked from commit faab4f9)
2016-12-19 02:31:00 +01:00
Juergen Hoeller
de3734ac3b Polishing 2016-12-01 23:05:11 +01:00
Juergen Hoeller
0b76b13d88 Polishing
(cherry picked from commit 5fee5f3)
2016-12-01 18:53:23 +01:00
Juergen Hoeller
23e91e1ae6 Consistent use of "URI variables" terminology
Issue: SPR-14969
(cherry picked from commit 2b02935)
2016-12-01 18:53:16 +01:00
Juergen Hoeller
c2a1a41eb6 Polishing 2016-11-07 20:30:27 +01:00
Brian Clozel
306452720f Fix NumberFormatException with X-Forwarded-Host
This commit fixes `NumberFormatException`s that were thrown when parsing
IPv6 host values in `X-Forwarded-Host` request headers.

Issue: SPR-14761
(cherry picked from ea5ff87)
2016-10-07 23:30:36 +02:00
Juergen Hoeller
e54a7ed6d4 Polishing 2016-09-22 15:33:38 +02:00
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