1. 22 3月, 2017 5 次提交
  2. 21 3月, 2017 14 次提交
  3. 20 3月, 2017 1 次提交
    • R
      ResourceHttpMessageWriter refactoring · 76fe5f6f
      Rossen Stoyanchev 提交于
      Fold ResourceRegionHttpMessageWriter into ResourceHttpMessageWriter.
      The latter was a private helper (not meant to be exposed) and the two
      have much in common now sharing a number of private helper methods.
      
      The combined class does not extend AbstractServerHttpMessageConverter
      from which it was not using anything.
      
      Internally the combined class now delegates directly to ResourceEncoder
      or ResourceRegionEncoder as needed. The former is no longer wrapped
      with EncoderHttpMessageWriter which is not required since "resource"
      MediaType determination is a bit different.
      
      The consolidation makes it easy to see the entire algorithm in one
      place especially for server side rendering (and HTTP ranges). It
      also allows for consistent determination of the "resource" MediaType
      via MediaTypeFactory for all use cases.
      76fe5f6f
  4. 18 3月, 2017 6 次提交
  5. 17 3月, 2017 8 次提交
  6. 16 3月, 2017 6 次提交