1. 05 10月, 2016 2 次提交
  2. 04 10月, 2016 5 次提交
    • S
      Log unresolved exceptions at error level · 324c310c
      Sebastien Deleuze 提交于
      324c310c
    • B
      Remove RxJava 1.x variants of WebClient adapters · 11aa9207
      Brian Clozel 提交于
      Issue: SPR-14743
      11aa9207
    • B
      Fix missing ETag/LastModified headers in responses · ee17f566
      Brian Clozel 提交于
      Prior to this commit, the `HttpEntityMethodProcessor` would avoid
      writing ETag/Last-Modified response headers before calling
      `ServletWebRequest` to process conditional requests. This was done to
      avoid duplicate response header values due to headers being already
      written to the underlying servlet response.
      
      This is still necessary for GET/HEAD requests, since this is properly
      handled by `ServletWebRequest` for those cases. But
      `HttpEntityMethodProcessor` should not make that decision for
      PUT/PATCH/POST responses since developers are adding response headers on
      purpose and should be in control of the situation — whereas
      `ServletWebRequest` does not write those headers in those cases.
      
      Issue: SPR-14767
      ee17f566
    • S
      Print request body in PrintingResultHandler in Spring MVC Test · 487bc750
      Sam Brannen 提交于
      Prior to this commit, the PrintingResultHandler used by the various
      print() and log() methods in Spring MVC Test printed the response body
      but not the request body.
      
      Since request bodies are sometimes generated programmatically, however,
      it can be beneficial to have the dynamically generated request body
      logged as well.
      
      This commit therefore prints the request body in PrintingResultHandler
      by delegating to the recently introduced getContentAsString() method in
      MockHttpServletRequest.
      
      Issue: SPR-14717
      487bc750
    • S
      Introduce getContentAsByteArray()/getContentAsString() in MockHtttpSvltReq · 04b8ae92
      Sam Brannen 提交于
      In order to improve debugging and logging within test suites, this
      commit introduces getContentAsByteArray() and getContentAsString()
      methods in MockHttpServletRequest, analogous to the existing methods in
      MockHttpServletResponse.
      
      Issue: SPR-14717
      04b8ae92
  3. 28 9月, 2016 2 次提交
  4. 27 9月, 2016 2 次提交
  5. 26 9月, 2016 8 次提交
  6. 22 9月, 2016 2 次提交
  7. 21 9月, 2016 7 次提交
  8. 20 9月, 2016 11 次提交
  9. 19 9月, 2016 1 次提交