1. 04 6月, 2016 2 次提交
  2. 02 6月, 2016 1 次提交
  3. 01 6月, 2016 6 次提交
    • R
      Polish view resolution · a40a8b06
      Rossen Stoyanchev 提交于
      a40a8b06
    • R
      View resolution with content negotiation · 8cc72b32
      Rossen Stoyanchev 提交于
      ViewResolutionResultHandler and ResponseBodyResultHandler now share
      a common base class ContentNegotiatingResultHandlerSupport that
      supports content negotiation.
      
      For view resolution we compare against the supported media types of
      resolved View instances, which may include default View's delegating
      to an HttpMessageConverter (e.g. JSON, XML, rendering).
      8cc72b32
    • R
      Add HttpMessageConverterView · 5db1a54f
      Rossen Stoyanchev 提交于
      5db1a54f
    • R
      Refactor View contract · a37b2e3a
      Rossen Stoyanchev 提交于
      View now returns Mono<Void> rather than Flux<DataBuffer> which aligns
      more closely with the reactive HttpMessageConverter vs the Encoder.
      
      The change was prompted by the upcoming implementation of a View that
      delegates to an existing HttpMessageConverter e.g. for JSON, XML.
      
      The resulting change also brings the reactive View closer in spirit to
      the View from spring-webmvc which returns void.
      a37b2e3a
    • R
      Polish SimpleResultHandler · f8a7024b
      Rossen Stoyanchev 提交于
      f8a7024b
    • R
      Introduce base class for ResponseBodyResultHandler · 1b308cff
      Rossen Stoyanchev 提交于
      The ContentNegotiatingResultHandlerSupport base class encapsulates the
      logic for content negotiation needed for both @ResponseBody and view
      resolution result handling.
      1b308cff
  4. 31 5月, 2016 1 次提交
  5. 30 5月, 2016 1 次提交
  6. 28 5月, 2016 4 次提交
  7. 27 5月, 2016 10 次提交
  8. 26 5月, 2016 4 次提交
  9. 06 5月, 2016 2 次提交
  10. 04 5月, 2016 1 次提交
  11. 03 5月, 2016 1 次提交
  12. 28 4月, 2016 2 次提交
  13. 22 4月, 2016 2 次提交
    • R
      Updates to WebHandler support · df7c8e55
      Rossen Stoyanchev 提交于
      Rename two classes each adapting to WebHandler to avoid confusing them:
      1. HttpWebHandlerAdapter adapts from the low level HttpHandler to any
      WebHandler (e.g. DispatcherHandler).
      2. SimpleHandlerAdapter adapts the plain WebHandler for use within the
      DispatcherHandler.
      
      This commit also fixes an issue in WebHttpHandlerBuilder to ensure that
      WebExceptionHandler's are inserted before and not after WebFilter's.
      df7c8e55
    • R
      Add SimpleUrlHandlerMapping · a23f7920
      Rossen Stoyanchev 提交于
      This commit replaces the temporary SimpleUrlHandlerMapping with
      a full-featured one.
      a23f7920
  14. 21 4月, 2016 1 次提交
    • R
      BadRequestStatusException -> ServerWebInputException · dd607d3e
      Rossen Stoyanchev 提交于
      The renaming makes it clear this exception is for use where 400 error
      applies within a Spring web application where the error may be
      associated with a MethodParameter, a BindingResult, and so on.
      
      There is no need for BadRequestStatusException which can be expressed
      with ResponseStatusException(HttpStatus.BAD_REQUEST, "reason").
      dd607d3e
  15. 20 4月, 2016 2 次提交