1. 31 10月, 2019 2 次提交
  2. 30 10月, 2019 2 次提交
  3. 29 10月, 2019 1 次提交
    • R
      Limits on input stream in codecs · 87146481
      Rossen Stoyanchev 提交于
      - Add maxInMemorySize property to Decoder and HttpMessageReader
        implementations that aggregate input to trigger
        DataBufferLimitException when reached.
      
      - For codecs that call DataBufferUtils#join, there is now an overloaded
        variant with a maxInMemorySize extra argument. Internally, a custom
        LimitedDataBufferList is used to count and enforce the limit.
      
      - Jackson2Tokenizer and XmlEventDecoder support those limits per
        streamed JSON object.
      
      - Configurable limits for multipart requests with Synchronoss NIO.
      
      - Centralized maxInMemorySize exposed via CodecConfigurer along with
        ability to plug in an instance of MultipartHttpMessageWrite.
      
      Closes gh-23884
      87146481
  4. 26 9月, 2019 1 次提交
  5. 17 9月, 2019 1 次提交
  6. 16 9月, 2019 1 次提交
  7. 13 9月, 2019 1 次提交
  8. 12 9月, 2019 1 次提交
  9. 31 8月, 2019 1 次提交
    • S
      Retain entry set order in read-only HttpHeaders · 9729b460
      Sam Brannen 提交于
      Prior to this commit, the entry set of read-only HttpHeaders lost the
      original headers' ordering.
      
      The changes in commit ce7278aa introduced a regression in the read-only
      HttpHeaders support. Specifically, the implementation of entrySet() in
      the internal ReadOnlyHttpHeaders class converted the original entry set
      to an immutable, non-ordered set of immutable entries.
      
      This commit fixes this issue by converting the original entry set to an
      immutable, ordered set of immutable entries.
      
      Closes gh-23551
      9729b460
  10. 29 8月, 2019 2 次提交
  11. 28 8月, 2019 1 次提交
  12. 21 8月, 2019 1 次提交
  13. 31 7月, 2019 1 次提交
  14. 30 7月, 2019 2 次提交
  15. 25 7月, 2019 2 次提交
    • S
      Introduce ServerHttpRequest.Builder.header() variant for setting headers · 5034d1e7
      Sam Brannen 提交于
      Prior to this commit, the `header(String, String)` method in the
      ServerHttpRequest.Builder API actually added a header value instead of
      setting or overriding a header value. Since this conflicted with the
      stated behavior in the Javadoc as well as the original intention of the
      method, we have decided to introduce an overloaded variant
      `header(String, String...)` which accepts a var-args list of header
      values to set or override.
      
      In addition, this commit deprecates the existing `header(String, String)`
      method for removal in Spring Framework 5.2.
      
      In order not to be a breaking change for custom implementations of the
      builder API, this commit implements the new `header(String, String...)`
      method as an interface `default` method, with the intent to remove the
      default implementation in Spring Framework 5.2
      
      closes gh-23333
      5034d1e7
    • J
      Add Javadoc since for Jaxb2XmlDecoder(MimeType...) · 946fc39d
      Johnny Lim 提交于
      See gh-23353
      946fc39d
  16. 13 7月, 2019 1 次提交
  17. 07 7月, 2019 1 次提交
    • S
      Ignore empty entries when parsing MediaTypes and MimeTypes · efab6eb5
      Sam Brannen 提交于
      Prior to Spring Framework 5.1.3, MimeTypeUtils.parseMimeTypes() and
      MediaType.parseMediaTypes() ignored empty entries, but 5.1.3 introduced
      a regression in that an empty entry -- for example, due to a trailing
      comma in the list of media types in an HTTP Accept header -- would result
      in a "406 Not Acceptable" response status.
      
      This commit fixes this by filtering out empty entries before parsing
      them into MimeType and MediaType instances. Empty entries are therefore
      effectively ignored.
      
      Fixes gh-23241
      efab6eb5
  18. 21 6月, 2019 1 次提交
  19. 19 6月, 2019 1 次提交
  20. 05 6月, 2019 1 次提交
  21. 04 6月, 2019 1 次提交
  22. 29 5月, 2019 1 次提交
  23. 20 5月, 2019 1 次提交
  24. 16 5月, 2019 2 次提交
  25. 09 5月, 2019 3 次提交
  26. 08 5月, 2019 2 次提交
  27. 07 5月, 2019 2 次提交
  28. 04 5月, 2019 1 次提交
  29. 03 5月, 2019 2 次提交