- 03 12月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Phillip Webb 提交于
Update "enableMatrixVariables" and "ignoreDefaultModelOnRedirect" to use the more conventional XML form "enable-matrix-variables" and "ignore-default-model-on-redirect". Both forms are now supported by `AnnotationDrivenBeanDefinitionParser`, with newer names being defined in the 4.0 XSD and the older names remaining in the 3.2 XSD. Issue: SPR-11136
-
- 27 11月, 2013 3 次提交
-
-
由 Phillip Webb 提交于
Update code to have a consistent number of new-line characters after import statements.
-
由 Phillip Webb 提交于
Apply consistent styling to new classes introduced in Spring 4.0. - Javadoc line wrapping, whitespace and formatting - General code whitespace - Consistent Assert.notNull messages
-
由 Phillip Webb 提交于
-
- 26 11月, 2013 2 次提交
-
-
由 Eric Dahl 提交于
Fix a variety of typos throughout the project, primarily in comments (javadoc or otherwise) but also in a handful of log messages and a couple exception messages. ISSUE: SPR-11123
-
由 Phillip Webb 提交于
Fix remaining Java compiler warnings, mainly around missing generics or deprecated code. Also add the `-Werror` compiler option to ensure that any future warnings will fail the build. Issue: SPR-11064
-
- 20 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 06 11月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10926
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10982
-
- 05 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10937
-
- 31 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This change avoid use of AntPathMatcher to extract URI template variables when the lookup path is used as the best matching pattern. Issue: SPR-10803
-
- 30 10月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Phillip Webb 提交于
Remove Javadoc linkplain to ExceptionHandler#value() from AnnotationMethodHandlerExceptionResolver to work around JDK Javadoc bug 9007707.
-
- 29 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 28 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 26 10月, 2013 3 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-8826
-
由 Rossen Stoyanchev 提交于
Issue: SPR-8826
-
由 Phillip Webb 提交于
-
- 25 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Introduce base class AbstractMethodMessageHandler for HandlerMethod-based message handling. Add MessageCondition interface for mapping conditions to messages with support for combining type- and method-level annotation conditions, the ability to match conditions to messages, and also comparing matches to select the best match. Issue: SPR-11024
-
- 22 10月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
-
由 Oliver Gierke 提交于
MvcUriComponentsBuilder allows creating URIs that point to Spring MVC controller methods annotated with @RequestMapping. It builds them by exposing a mock method invocation API similar to Mockito, records the method invocations and thus builds up the URI by inspecting the mapping annotations and the parameters handed into the method invocations. Introduced a new SPI UriComponentsContributor that should be implemented by HandlerMethodArgumentResolvers that actually contribute path segments or query parameters to a URI. While the newly introduced MvcUriComponentsBuilder looks up those UriComponentsContributor instances from the MVC configuration. The MvcUriComponentsBuilderFactory (name to be discussed - MvcUris maybe?) prevents the multiple lookups by keeping the UriComponentsBuilder instances in an instance variable. So an instance of the factory could be exposed as Spring bean or through a HandlerMethodArgumentResolver to be injected into Controller methods. Issue: SPR-10665, SPR-8826
-
- 18 10月, 2013 1 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, @ControllerAdvice annotated beans would assist all known Controllers, by applying @ExceptionHandler, @InitBinder, and @ModelAttribute. This commit updates the @ControllerAdvice annotation, which accepts now base package names, assignableTypes, annotations and basePackageClasses. If attributes are set, only Controllers that match those selectors will be assisted by the annotated class. This commit does not change the default behavior when no value is set, i.e. @ControllerAdvice(). Issue: SPR-10222
-
- 15 10月, 2013 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Before this change, async result handling on controller methods failed to observe type-level annotations annotations. The issue was never noticed until we started supporting type-level @ResponseBody and the @RestController meta annotation. Issue: SPR-10905
-
由 Juergen Hoeller 提交于
Includes revisions of MethodParameter and DependencyDescriptor (in particular towards a reference to the containing class). Also refines several ResolvableType method signatures. Issue: SPR-9965
-
- 14 10月, 2013 1 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, the template method createDataBinderFactory would only allow ServletRequestDataBinderFactory as a return type. This commit updates the method signature and allows InitBinderDataBinderFactory, a superclass of the previous one. Then other implementations can override this method and return other InitBinderDataBinderFactory types. Issue: SPR-10920
-
- 10 10月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Refactor AbstractMessageConverterMethodArgumentResolver and BridgeMethodResolver to use ResolvableType in preference to deprecated GenericTypeResolver calls. Issue: SPR-10980
-
- 08 10月, 2013 4 次提交
-
-
由 Rossen Stoyanchev 提交于
This reverts commit d4a0e628, reversing changes made to 8abe9497.
-
由 Rossen Stoyanchev 提交于
This reverts commit 1ba806b1.
-
由 Rossen Stoyanchev 提交于
This reverts commit f8e1f06d.
-
由 Rossen Stoyanchev 提交于
This reverts commit c01f45fa.
-
- 05 10月, 2013 3 次提交
-
-
由 Juergen Hoeller 提交于
Comprehensive update to the framework's TimeZone handling, including a new TimeZoneAwareLocaleContext and a LocaleContextResolver for Spring MVC A few noteworthy minor changes: LocaleContext.getLocale() may return null in special cases (not by default), which our own accessing classes are able to handle now. If there is a non-null TimeZone user setting, we're exposing it to all collaborating libraries, in particular to JSTL, Velocity and JasperReports. Our JSR-310 and Joda-Time support falls back to checking the general LocaleContext TimeZone now, adapting it to their time zone types, if no more specific setting has been provided. Our DefaultConversionService has TimeZone<->ZoneId converters registered. And finally, we're using a custom parseTimeZoneString method now that doesn't accept the TimeZone.getTimeZone(String) GMT fallback for an invalid time zone id anymore. Issue: SPR-1528
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 03 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10950
-
- 02 10月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 28 9月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Renamed ResourceUrlMapper to ResourceUrlGenerator and refactored it to be configured with Resource-serving HandlerMappings as opposed to having them detected in the ApplicationContext through the BeanPostProcessor contact. Renamed and polished ResourceUrlEncodingFilter to ResourceUrlFilter and added tests.
-