Juergen Hoeller
d047174c6b
Unit test for empty Access-Control-Request-Headers (Chrome 52)
...
Includes optimized method/header resolution in CorsConfiguration.
Issue: SPR-14617
2016-08-24 11:40:18 +02:00
Juergen Hoeller
7bb4ab6842
Various @since tags (and varargs on setInterceptors)
...
(cherry picked from commit 5222489 )
2016-08-18 12:58:02 +02:00
Juergen Hoeller
453822817f
Protected visibility for configurePathMatch and configureAsyncSupport
...
Issue: SPR-14599
2016-08-18 10:15:48 +02:00
Juergen Hoeller
d2e3a1a4f5
DelegatingWebMvcConfiguration properly delegates extendHandlerExceptionResolvers
...
Issue: SPR-14599
2016-08-18 09:05:47 +02:00
Juergen Hoeller
eeeab27f1f
Polishing
...
(cherry picked from commit 35e247a )
2016-08-10 16:42:21 +02:00
Juergen Hoeller
59a24b406a
Polishing
2016-08-10 14:20:42 +02:00
Sebastien Deleuze
e86529ec90
Prevent StackOverflowError in AbstractJackson2HttpMessageConverter
...
Issue: SPR-14520
2016-08-04 11:20:38 -07:00
Juergen Hoeller
e03dea1d64
Polishing
2016-07-26 17:15:19 +02:00
Juergen Hoeller
382a931e7d
Polishing
2016-07-22 22:28:20 +02:00
Marius Grama
3635c9dbfe
Update xmlunit library to version 2.1.0
...
xmlunit 2.1.0 is the latest release for xmlunit.
Most of the xmlunit functionality used within spring-framework
was done through the xmlunit 1.x helper class
`org.custommonkey.xmlunit.XMLAssert`.
As of xmlunit 2.0.0 most of the XML comparison methods are done
through hamcrest matchers exposed by the xmlunit-matchers
library. In some cases during the migration, the matchers
had to be customized with custom `NodeMatcher` or
`DifferenceEvaluator` instances in order to keep the assertions
correct (they were performed with xmlunit 1.x previously).
Issue: SPR-14043
2016-07-21 15:04:21 +02:00
Juergen Hoeller
9cc625ee2c
Polishing
...
(cherry picked from commit 5a92aa4 )
2016-07-20 23:25:17 +02:00
Juergen Hoeller
28e7c11234
Polishing
2016-07-20 22:41:56 +02:00
Sebastien Deleuze
3a4e5d5da8
Fix ParameterizedType + contextClass support in Jackson converter
...
Issue: SPR-14470
2016-07-20 09:29:23 +02:00
Juergen Hoeller
99be15f58b
Revise encoding steps towards use of JDK Charset and StandardCharsets
...
Issue: SPR-14492
2016-07-19 23:43:06 +02:00
Juergen Hoeller
adc595b5f1
Avoid dependency on WebUtils for extracting file extension
...
Issue: SPR-14479
2016-07-19 23:30:33 +02:00
Juergen Hoeller
fd4b5ac892
Ignore JRuby template tests (not compatible with JDK 9 yet)
...
Issue: SPR-13344
2016-07-19 19:42:31 +02:00
Juergen Hoeller
d07381e862
Avoid deprecated number constructors on JDK 9
...
Issue: SPR-13344
2016-07-19 19:25:55 +02:00
Juergen Hoeller
aaac199e8b
Consistently use constructor-based instantiation instead of Class.newInstance / BeanUtils.instantiate
...
Issue: SPR-14486
2016-07-19 19:21:06 +02:00
Juergen Hoeller
8bb34bc962
Resource.isFile() and JAF MediaTypeFactory
...
Issue: SPR-14484
2016-07-19 18:53:31 +02:00
Juergen Hoeller
dc1664939c
Javadoc fixes and pruning of outdated references
2016-07-15 22:12:11 +02:00
Juergen Hoeller
503f0e3397
Polishing
2016-07-15 17:27:59 +02:00
Juergen Hoeller
8ccd727c9a
AbstractHandlerMethodMapping adds type+method info to getMappingForMethod exceptions
...
Issue: SPR-14452
2016-07-13 15:42:34 +02:00
Juergen Hoeller
84afc601b8
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
2016-07-13 15:14:42 +02:00
Juergen Hoeller
6aa5931e28
Polishing
2016-07-07 01:05:25 +02:00
Juergen Hoeller
a1f5fb53db
Java 8 getParameterCount() instead of getParameterTypes().length
...
Issue: SPR-13188
2016-07-07 01:04:24 +02:00
Juergen Hoeller
da9c24c41e
Polishing
2016-07-06 18:11:33 +02:00
Juergen Hoeller
102dc8a4dd
Polishing
2016-07-06 15:29:15 +02:00
Juergen Hoeller
76dedd7ca2
FactoryBean, BeanPostProcessor and HandlerInterceptor variants declared with default methods
...
Issue: SPR-14432
2016-07-06 15:10:08 +02:00
Stephane Nicoll
e4b0486c5a
Add @FunctionalInterface on candidate interfaces
...
Issue: SPR-14432
2016-07-06 14:32:13 +02:00
Juergen Hoeller
7dda9fbd8c
Drop JasperReports support
...
Issue: SPR-13294
2016-07-05 23:06:15 +02:00
Juergen Hoeller
bc2c22d51e
Streamline XML namespace support towards unversioned schemas
...
This commit also removes support code for outdated options which were only available in older schema versions.
Issue: SPR-13499
2016-07-05 20:50:03 +02:00
Sam Brannen
1391248ea6
Introduce log4j 2 for Spring's test suite
...
This commit adds a test runtime dependency on log4j 2 for every project
and migrates all log4j.properties files to log4j2-test.xml files.
Issue: SPR-14431
2016-07-05 19:19:09 +02:00
Stephane Nicoll
00d2606b00
Explicit type can be replaced by <>
...
Issue: SPR-13188
2016-07-05 17:00:34 +02:00
Juergen Hoeller
b5db5d3aac
Broadly remove deprecated core classes and methods
...
Issue: SPR-14430
2016-07-05 15:52:49 +02:00
Juergen Hoeller
0fc0ce78ae
Drop deprecated dependencies on Log4j, JRuby, JExcel, Burlap, Commons Pool/DBCP
...
This commit also removes outdated support classes for Oracle, GlassFish, JBoss.
Issue: SPR-14429
2016-07-05 15:46:53 +02:00
Juergen Hoeller
51252ebbca
Avoid defensive checks against Java 8 API (java.util.Optional etc)
...
This commit also fixes broken javadoc links and code references.
Issue: SPR-13188
2016-07-05 02:09:00 +02:00
Juergen Hoeller
2b3445df81
Drop Portlet MVC support
...
This commit also removes the corresponding deprecated Servlet MVC variant and updates DispatcherServlet.properties to point to RequestMappingHandlerMapping/Adapter by default.
Issue: SPR-14129
2016-07-04 23:33:47 +02:00
Juergen Hoeller
ae0b7c26c5
Drop Servlet 2.5 runtime compatibility
...
Issue: SPR-13189
2016-07-04 23:31:21 +02:00
Juergen Hoeller
ff6ead1fff
Remove Velocity support
...
Issue: SPR-13795
2016-07-04 23:30:58 +02:00
Juergen Hoeller
b204437cef
Polishing
2016-07-02 14:48:15 +02:00
Juergen Hoeller
e7a53e37fb
Avoid stateful MethodParameter nesting level changes in MVC processing
2016-07-02 13:02:22 +02:00
Juergen Hoeller
cfc560c4c4
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
2016-07-02 12:55:30 +02:00
Rossen Stoyanchev
9c29ed75f8
Suppress OPTIONS handling for an ERROR dispatch
...
Issue: SPR-14410
2016-06-30 12:34:54 -04:00
Juergen Hoeller
16949941f8
MatchableHandlerMapping extends HandlerMapping and lives in web.servlet.handler now
...
Issue: SPR-14321
2016-06-30 14:38:26 +02:00
Rossen Stoyanchev
89396ff01f
Refactor handleNoMatch for @RequestMapping
...
Originally handleNoMatch looked for partial matches based on URL
pattern, HTTP method, consumes, produces, and params in that order
but without narrowing down the set of partial matches resulting in
potentially inaccruate response status codes
Commit 473de0 added an improvement to narrow the set with partial
matches for URL pattern and HTTP method matches.
This commit overhauls handleNoMatch so that the narrowing down of
matches happens at each stage resulting in more accurate error
reporting for request mappings with fine-grained conditions.
Issue: SPR-14397
2016-06-29 15:59:00 -04:00
Juergen Hoeller
2d5496df2b
Polishing
2016-06-29 15:53:46 +02:00
Juergen Hoeller
f2328e8e3c
Polishing
2016-06-29 10:57:16 +02:00
Rossen Stoyanchev
775ffbe10b
Improve static resource path check
2016-06-28 16:46:51 -04:00
Sam Brannen
1a7c6d3b10
Update @since tags in HandlerMappingIntrospector & Co.
2016-06-28 19:04:03 +02:00
Rossen Stoyanchev
2cdcf752ba
MvcUriComponentsBuilder respects optional params
...
Issue: SPR-14405
2016-06-27 16:02:54 -04:00