1. 02 4月, 2015 7 次提交
  2. 01 4月, 2015 8 次提交
  3. 31 3月, 2015 13 次提交
  4. 30 3月, 2015 7 次提交
    • S
      Polish Javadoc for ClassUtils · 502fa179
      Sam Brannen 提交于
      502fa179
    • S
    • S
      Refactor ObjectToObjectConverter & improve exception msg · bddc4373
      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.
      bddc4373
    • S
      Polish Javadoc for converters · db96113b
      Sam Brannen 提交于
      db96113b
    • S
      Polish ConversionService tests · 72d7963b
      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.
      72d7963b
    • R
      Improve empty request body handling · 36ed4df5
      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
      36ed4df5
    • R
      Add RequestBodyAdvice · 0556ed4f
      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
      0556ed4f
  5. 28 3月, 2015 1 次提交
    • S
      Fix test · 073c1764
      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
      073c1764
  6. 27 3月, 2015 4 次提交