1. 09 9月, 2016 2 次提交
    • A
      Fix using system default charset in view rendering · 5f941c1d
      Arjen Poutsma 提交于
      Prior to this commit, FreeMarkerView used the system default charset to
      render. This commit switches this by defaulting to UTF-8, if no charset
      is specified in the content type.
      
       - Add contentType parameter to AbstractView.renderInternal, used to
       determine the charset contained therein
       - Adds a defaultCharset property to AbstractView and
       ViewResolverSupport.
      5f941c1d
    • A
      Changed View.render method to take Map<String, ?> · a746c3c5
      Arjen Poutsma 提交于
      Changed View's render method from taking a HandlerResult to taking a
      Map<String, ?>, in order to facilitate scenarios where a HandlerResult
      is not available (i.e. web.reactive.function).
      a746c3c5
  2. 02 9月, 2016 1 次提交
  3. 28 7月, 2016 2 次提交
  4. 23 7月, 2016 2 次提交
  5. 19 7月, 2016 2 次提交
  6. 15 7月, 2016 2 次提交
  7. 04 7月, 2016 2 次提交
  8. 02 7月, 2016 1 次提交
  9. 06 6月, 2016 1 次提交
  10. 04 6月, 2016 2 次提交
  11. 02 6月, 2016 1 次提交
  12. 01 6月, 2016 4 次提交
    • 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
  13. 30 5月, 2016 1 次提交
  14. 28 5月, 2016 3 次提交
  15. 27 5月, 2016 7 次提交