- 01 4月, 2015 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit introduces support for "Path Segment URI Variable expansion", see https://tools.ietf.org/html/rfc6570#section-3.2.6. In practice, this means that URI template variables prefixed with a '/' are treated like path segments and - as such - will encode any '/' found. For example: {/foo} expanded with "bar/baz" with result in "bar%2F". Issue: SPR-12750
-
- 31 3月, 2015 13 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
AbstractContextLoaderInitializer and AbstractDispatcherServletInitializer support ApplicationContextInitializers now Issue: SPR-12430
-
由 Juergen Hoeller 提交于
Issue: SPR-12870
-
由 Juergen Hoeller 提交于
Issue: SPR-11740
-
由 Juergen Hoeller 提交于
AnnotationUtils.getAnnotationAttributes makes Method accessible (analogous to AnnotationUtils.getValue) Issue: SPR-12858
-
由 Juergen Hoeller 提交于
Issue: SPR-12863
-
由 Juergen Hoeller 提交于
BeanWrapperImpl.setPropertyValue throws InvalidPropertyException with correct property value for nested collection case Issue: SPR-12866
-
由 Juergen Hoeller 提交于
Issue: SPR-12865
-
由 Andy Clement 提交于
This change provides support for map[NEW], map[new], map[T] and map[t]. Prior to this change the 'new' and 't' had to be quoted because they were keywords in SpEL for a constructor reference and type reference respectively. Issue: SPR-11783
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12855
-
- 30 3月, 2015 7 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
- The exception message now mentions lacking to-Object method as well. - Documented explicit lacking support for toString() for conversions. - Introduced dedicated has*() methods for greater clarity and to reduce code duplication. - Static factory methods (i.e., of, from, valueOf) are now supported for conversion to a String.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
- Now correctly using @test(expected=...) where appropriate. - Renamed DefaultConversionTests to DefaultConversionServiceTests. - Moved all tests related to DefaultConversionService from GenericConversionServiceTests to DefaultConversionServiceTests. - No longer printing to System.out. - Removed all duplicate instantiation of conversion services. - Now using Java 8 streams to simplify implementations of custom test converters. Also using streams in tests where appropriate.
-
由 Rossen Stoyanchev 提交于
The check for an empty request body InputStream is now in the base class AbstractMessageConverterMethodArgumentResolver shared for all arguments that involve reading with an HttpMessageConverter -- @RequestBody, @RequestPart, and HttpEntity. When an empty body is detected any configured RequestBodyAdvice is given a chance to select a default value or leave it as null. Issue: SPR-12778, SPR-12860, SPR-12861
-
由 Rossen Stoyanchev 提交于
RequestBodyAdvice is analogous to ResponseBodyAdvice (added in 4.1) but for intercepting for reading the request with an HttpMessageConverter for resolving an @RequestBody or an HttpEntity method argument. Issue: SPR-12501
-
- 28 3月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
The rework of 314b069f in a7fec6a4 has created a lazy proxy to make sure that the need for an exception cache resolver come as late as possible. Unfortunately, the test that was only failing on CI because of an early lookup has not been updated accordingly. This is now the case. Issue: SPR-12850
-
- 27 3月, 2015 4 次提交
-
-
由 Stephane Nicoll 提交于
This is a rework of 314b069f that may still lead to issue if a Cacheable annotated bean is inspected on startup. Instead of resolving the default exception CacheResolver if a cache operation is parsed, we resolve it as late as possible (i.e. when an exception is thrown and the relevant exception cache needs to be resolved) Issue: SPR-12850
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12814
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12840
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12845
-
- 25 3月, 2015 14 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-7607
-
由 Stephane Nicoll 提交于
Previously, a cache infrastructure with only a CacheResolver would have worked fine until the JSR-107 API is added to the classpath. When this is the case, the JCache support kicks in and an exception cache resolver is all of the sudden required. The CacheResolver _is_ different as the default implementation does look different attributes so if a custom CacheResolver is set, it is not possible to "reuse" it as a fallback exception CacheResolver. Now, an exception CacheResolver is only required if a JSR-107 annotation with an "exceptionCacheName" attribute is processed (i.e. the exception CacheResolver is lazily instantiated if necessary). The use case of having a CachingConfigurerSupport with only a CacheResolver was still broken though since the JCache support only looks for a JCacheConfigurer bean (per the generic type set on AbstractCachingConfiguration). This has been fixed as well. Issue: SPR-12850
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12849
-
由 Juergen Hoeller 提交于
Issue: SPR-12212
-
由 Juergen Hoeller 提交于
As of JUnit 4.9 / Hamcrest 1.3, there is no real need for a custom copy of that class anymore.
-
由 Rossen Stoyanchev 提交于
The getter in TransportHandlingSockJsService now returns a mutable List. The immutable wrapper doesn't make sense since it's possible anyway to modify the list by creating a new list and calling the setter again. It's also consistent with the same field on WebSocketHttpRequestHandler. This is related to work for SPR-12845.
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
(cherry picked from commit 673dac56)
-
由 Rossen Stoyanchev 提交于
Generally update chapter and add documentation for 4.2 including the return value types ResponseBodyEmitter, SseEmitter, and StreamingResponseBody. Issue: SPR-12672
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12847
-