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
Juergen Hoeller
6f2f3595e9
Backported import and declaration cleanup
2015-12-18 00:18:09 +01:00
Juergen Hoeller
d59a97c101
Polishing
2015-12-18 00:02:48 +01:00
Juergen Hoeller
7f7f24949b
Polishing
2015-12-09 15:13:41 +01:00
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
2015-12-09 12:28:09 +01:00
Juergen Hoeller
4261f34b63
Consistent and lenient HttpMethod resolution across all web modules
...
Issue: SPR-13776
2015-12-09 12:26:44 +01:00
Juergen Hoeller
1585a822d6
Javadoc fixes
...
Issue: SPR-13765
2015-12-07 12:50:23 +01:00
Juergen Hoeller
b1ef6ece9f
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
2015-12-07 12:47:38 +01:00
Juergen Hoeller
20beace1bf
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
2015-12-07 12:46:32 +01:00
Juergen Hoeller
d64ac32e3d
ControllerAdviceBean accepts bean types without @ControllerAdvice annotation (as in 3.2)
...
Issue: SPR-13759
2015-12-04 13:03:00 +01:00
Juergen Hoeller
08ff3a85bf
Integration test for proper re-resolution of Optional @RequestPart argument
...
Includes a trivial refinement of RestTemplate's ResourceAccessException message.
Issue: SPR-13755
2015-12-03 12:55:32 +01:00