1. 22 3月, 2019 1 次提交
  2. 05 3月, 2019 1 次提交
  3. 15 9月, 2018 2 次提交
    • R
      Add LogFormatUtils · db8e9eaf
      Rossen Stoyanchev 提交于
      1. Helper method to eliminate duplication in formatting (de-)serialized
         values for logging introduced with prior commit #e62298.
      
      2. Helper method for TRACE vs DEBUG logging with different details.
      
      Issue: SPR-17254
      db8e9eaf
    • R
      Truncate logged encoded and decoded values if necessary · e62298ea
      Rossen Stoyanchev 提交于
      At DEBUG show up to 100 chars, at TRACE show full formatted value.
      
      Note that the formatValue helper method is duplicated a number of times
      in this commit. A utility method will likely be added in spring-core
      through an extra commit.
      
      Issue: SPR-17254
      e62298ea
  4. 19 7月, 2018 1 次提交
  5. 07 7月, 2018 1 次提交
  6. 05 7月, 2018 1 次提交
  7. 23 6月, 2018 1 次提交
  8. 13 10月, 2017 1 次提交
  9. 16 8月, 2017 2 次提交
  10. 30 6月, 2017 1 次提交
  11. 28 6月, 2017 1 次提交
  12. 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
  13. 01 6月, 2017 1 次提交
  14. 05 5月, 2017 1 次提交
  15. 10 4月, 2017 1 次提交
  16. 24 3月, 2017 1 次提交
    • R
      String decoding for text only vs any MIME type · 0662dbf0
      Rossen Stoyanchev 提交于
      Follow-up to:
      https://github.com/spring-projects/spring-framework/commit/3d68c496f15c80a75711480a569cda1f7c64dc91
      
      StringDecoder can be created in text-only vs "*/*" mode which in turn
      allows a more intuitive order of client side decoders, e.g. SSE does
      not have to be ahead of StringDecoder.
      
      The commit also explicitly disables String from the supported types in
      Jackson2Decoder leaving it to the StringDecoder in "*/*" mode which
      comes after. This does not change the current arrangement since the
      the StringDecoder ahead having "*/*" picks up JSON content just the
      same.
      
      From a broader perspective this change allows any decoder to deal with
      String if it wants to after examining the content type be it the SSE
      or another, custom decoder. For Jackson there is very little value in
      decoding to String which works only if the output contains a single
      JSON string but will fail to parse anything else (JSON object/array)
      while StringDecoder in "*/*" mode will not fail.
      
      Issue: SPR-15374
      0662dbf0
  17. 22 3月, 2017 1 次提交
  18. 24 12月, 2016 1 次提交
    • S
      Allow to specify hints with the functional web API · fbf88d19
      Sebastien Deleuze 提交于
      The most common use case is specifying JSON views.
      
      ServerResponse.BodyBuilder#hint(String, Object) allows to
      specify response body serialization hints.
      
      ServerRequest#body(BodyExtractor, Map) allows to specify
      request body extraction hints.
      
      Issue: SPR-15030
      fbf88d19
  19. 12 9月, 2016 1 次提交
  20. 26 7月, 2016 1 次提交
  21. 21 7月, 2016 1 次提交