1. 03 12月, 2013 2 次提交
  2. 27 11月, 2013 3 次提交
  3. 26 11月, 2013 2 次提交
    • E
      Fix various typos · e9f78f60
      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
      e9f78f60
    • P
      Fix remaining compiler warnings · 59002f24
      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
      59002f24
  4. 20 11月, 2013 1 次提交
  5. 06 11月, 2013 2 次提交
  6. 05 11月, 2013 1 次提交
  7. 31 10月, 2013 1 次提交
  8. 30 10月, 2013 2 次提交
  9. 29 10月, 2013 1 次提交
  10. 28 10月, 2013 1 次提交
  11. 26 10月, 2013 3 次提交
  12. 25 10月, 2013 1 次提交
    • R
      Refactor HandlerMethod support in spring-messaging · b8809daf
      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
      b8809daf
  13. 22 10月, 2013 2 次提交
    • R
      Integrate suggested support for creating MVC URLs · bafc73f1
      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
      bafc73f1
    • O
      Introduced MvcUriComponentsBuilder to create URIs pointing to controller methods. · 4fd27b12
      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
      4fd27b12
  14. 18 10月, 2013 1 次提交
    • B
      Add new features on @ControllerAdvice · c4a8bf9c
      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
      c4a8bf9c
  15. 15 10月, 2013 3 次提交
  16. 14 10月, 2013 1 次提交
    • B
      Allow greater flexibility for template method createDataBinderFactory · 5de51980
      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
      5de51980
  17. 10 10月, 2013 1 次提交
  18. 08 10月, 2013 4 次提交
  19. 05 10月, 2013 3 次提交
    • J
      Comprehensive update to the framework's TimeZone handling, including a new... · 4574528a
      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
      4574528a
    • J
      Polishing · 52cca48f
      Juergen Hoeller 提交于
      52cca48f
    • J
      Marked Jackson 1.x support classes as deprecated · 8b3afda6
      Juergen Hoeller 提交于
      8b3afda6
  20. 03 10月, 2013 1 次提交
  21. 02 10月, 2013 2 次提交
  22. 28 9月, 2013 2 次提交