1. 31 10月, 2019 1 次提交
  2. 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
  3. 23 3月, 2019 1 次提交
  4. 14 11月, 2018 1 次提交
  5. 25 7月, 2018 2 次提交
    • J
      Refactor DefaultCodecs.protobufWriter into protobufEncoder · 3899b7a9
      Juergen Hoeller 提交于
      Includes nullability declarations for the protobuf package.
      
      Issue: SPR-15776
      3899b7a9
    • S
      Support Protobuf serialization in WebFlux · 36a07aa8
      sdeleuze 提交于
      This commit introduces Protobuf support in WebFlux via dedicated
      codecs.
      
      Flux<Message> are serialized/deserialized using delimited Protobuf
      messages with the size of each message specified before the message
      itself. In that case, a "delimited=true" parameter is added to the
      content type.
      
      Mono<Message> are expected to use regular Protobuf message
      format (without the size prepended before the message).
      
      Related HttpMessageReader/Writer are automatically registered when the
      "com.google.protobuf:protobuf-java" library is detected in the classpath,
      and can be customized easily if needed via CodecConfigurer, for example
      to specify protocol extensions via the ExtensionRegistry based
      constructors.
      
      Both "application/x-protobuf" and "application/octet-stream" mime types
      are supported.
      
      Issue: SPR-15776
      36a07aa8
  6. 11 7月, 2018 1 次提交
  7. 23 6月, 2018 1 次提交
  8. 22 5月, 2018 1 次提交
  9. 13 10月, 2017 1 次提交
  10. 13 7月, 2017 1 次提交
  11. 28 5月, 2017 2 次提交
  12. 27 5月, 2017 1 次提交
  13. 13 4月, 2017 1 次提交
    • A
      Refactor CodecConfigurer · 908d1690
      Arjen Poutsma 提交于
      This commit refactors the CodecConfigurer, with it's subtypes
      ServerCodecConfigurer and ClientCodecConfigurerTests, into interfaces
      instead of classes.
      908d1690