1. 05 9月, 2019 1 次提交
  2. 06 6月, 2019 1 次提交
  3. 09 4月, 2019 1 次提交
  4. 05 4月, 2019 1 次提交
  5. 04 4月, 2019 2 次提交
  6. 28 3月, 2019 1 次提交
  7. 23 3月, 2019 1 次提交
  8. 22 3月, 2019 2 次提交
  9. 15 10月, 2018 1 次提交
  10. 30 6月, 2017 1 次提交
  11. 07 6月, 2017 1 次提交
    • J
      Consistent use of @Nullable across the codebase (even for internals) · f813712f
      Juergen Hoeller 提交于
      Beyond just formally declaring the current behavior, this revision actually enforces non-null behavior in selected signatures now, not tolerating null values anymore when not explicitly documented. It also changes some utility methods with historic null-in/null-out tolerance towards enforced non-null return values, making them a proper citizen in non-null assignments.
      
      Some issues are left as to-do: in particular a thorough revision of spring-test, and a few tests with unclear failures (ignored as "TODO: NULLABLE") to be sorted out in a follow-up commit.
      
      Issue: SPR-15540
      f813712f
  12. 01 6月, 2017 1 次提交
  13. 04 4月, 2017 1 次提交
  14. 31 8月, 2016 2 次提交
  15. 10 8月, 2016 1 次提交
  16. 05 7月, 2016 1 次提交
  17. 07 6月, 2016 1 次提交
  18. 06 5月, 2016 1 次提交
  19. 03 5月, 2016 1 次提交
    • B
      Refactor HTTP Range support with ResourceRegion · 5ac31fb3
      Brian Clozel 提交于
      Prior to this commit, the `ResourceHttpMessageConverter` would support
      all HTTP Range requests and `MethodProcessors` would "wrap" controller
      handler return values with a `HttpRangeResource` to support that use
      case in Controllers.
      
      This commit refactors that support in several ways:
      * a new ResourceRegion class has been introduced
      * a new, separate, ResourceRegionHttpMessageConverter handles the HTTP
      range use cases when serving static resources with the
      ResourceHttpRequestHandler
      * the support of HTTP range requests on Controller handlers has been
      removed until a better solution is found
      
      Issue: SPR-14221, SPR-13834
      5ac31fb3
  20. 30 7月, 2015 1 次提交
  21. 21 3月, 2015 3 次提交
    • J
      Polishing · 56273a8f
      Juergen Hoeller 提交于
      56273a8f
    • R
      Add HttpRange tests, set Accept-Range header, polish · 6a96c26d
      Rossen Stoyanchev 提交于
      Issue: SPR-10805
      6a96c26d
    • A
      Support byte ranges in ResourceHttpRequestHandler · da487396
      Arjen Poutsma 提交于
      This commit introduces support for HTTP byte ranges in the
      ResourceHttpRequestHandler. This support consists of a number of
      changes:
      
      - Parsing of HTTP Range headers in HttpHeaders, using a new HttpRange
        class and inner ByteRange/SuffixByteRange subclasses.
      - MIME boundary generation moved from FormHttpMessageConverter to
        MimeTypeUtils.
      - writePartialContent() method introduced in ResourceHttpRequestHandler,
        handling the byte range logic
      - Additional partial content tests added to
        ResourceHttpRequestHandlerTests.
      
      Issue: SPR-10805
      da487396