1. 31 8月, 2016 2 次提交
  2. 28 7月, 2016 1 次提交
    • R
      Remove SimpleResultHandler · 79bc227c
      Rossen Stoyanchev 提交于
      There is really no need for a result handler dedicated to a void
      return value and it's actually problematic to have it.
      
      Each result handler treats void as necessary. For an @ResponseBody
      method it means an empty body. For view resolution it means no specific
      value was returned and we should procede with selecting a default view
      name. Having a dedicated void result handler can interfere with this
      especially since view resolution needs to be last in order.
      
      At the same time there are cases when no result handling is needed
      and the response is fully handled within the HandlerAdapter. This is
      the case with WebHandler and the SimpleHandlerAdapter. For that case
      we simply return mono.then(aVoid -> Mono.empty()) which effectively
      returns an empty Mono and no result handling follows. The
      HandlerAdapter already says you can return no values at all if the
      response is fully handled.
      79bc227c
  3. 23 7月, 2016 1 次提交
  4. 06 7月, 2016 1 次提交
  5. 04 7月, 2016 1 次提交
  6. 01 6月, 2016 1 次提交
  7. 30 5月, 2016 1 次提交
  8. 27 5月, 2016 1 次提交
  9. 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
  10. 15 4月, 2016 2 次提交
  11. 28 1月, 2016 3 次提交
    • R
      Refine names in web.server and polish Javadoc · 381855aa
      Rossen Stoyanchev 提交于
      WebServerExchange -> ServerWebExchange
      
      Follows the same convention as in the http package also better allowing
      the possibility for a client equivalent in the future.
      
      WebToHttpHandlerBuilder -> WebHttpHandlerBuilder
      WebToHttpHandlerAdapter -> WebHttpHandlerAdapter
      
      More consistent with Spring conventions.
      381855aa
    • R
      Refine web.server package structure · e59b927f
      Rossen Stoyanchev 提交于
      Introduce adapter and handler sub-packages under web.server following a
      review prompted by the addition of the session package and the package
      cycle it brought in based on dependency on session.WebSessionManager.
      e59b927f
    • S
      Finish to cleanup Reactor Buffer usages · 506c4bc2
      Sebastien Deleuze 提交于
      We use it only for Reactor Net support now.
      506c4bc2
  12. 27 1月, 2016 1 次提交
  13. 20 1月, 2016 1 次提交
    • S
      demote cyclic dependency under reactor-core reactor package · 198e3164
      Stephane Maldini 提交于
      -> reactor.Mono : reactor.core.publisher.Mono
      -> reactor.Flux : reactor.core.publisher.Flux
      -> reactor.Processors : reactor.core.publisher.Processors
      -> reactor.Timers : reactor.core.timer.Timers
      -> reactor.Subscribers : reactor.core.subscriber.Subscribers
      198e3164
  14. 12 1月, 2016 1 次提交
  15. 10 1月, 2016 1 次提交
    • R
      Re-introduce writeHeaders() in ServerHttpResponse · eedc9081
      Rossen Stoyanchev 提交于
      This commit brings back the writeHeaders method on ServerHttpResponse
      that was once added (2a6a4f) and then removed (9c7151).
      
      This version is a little simpler since writeHeaders doesn't explicitly
      flush/send headers which runtimes are expected to do by default.
      Instead the main purpose of writeHeaders now is to ensure changes made
      via HttpHeaders are applied to the underlying runtime response at some
      point and we now do that once at the very end.
      
      This approach provides the most flexibility (vs keeping HttpHeaders in
      sync) because it allows a full and consistent set of mutative
      operations for both headers and cookies (to be added) regardless of the
      API exposed by the underlying runtime.
      eedc9081
  16. 09 1月, 2016 2 次提交
    • R
      Add WebServerExchange · 4f614fa0
      Rossen Stoyanchev 提交于
      This change adds a WebServerExchange and updates all contracts at the
      the same level (i.e. org.springframework.web.server) as well as the
      org.springframework.web.reactive level to use it so that all
      framework-related code will have access to server-side processing
      features such as request attributes (and others to come).
      4f614fa0
    • R
      Separate out web.server from http.server.reactive · 54e4e012
      Rossen Stoyanchev 提交于
      This change separates out lower-level HTTP adapter code from the more
      (framework-specific) HTTP processing into a separate package under
      org.springframework.web.server (not under org.springframework.http).
      54e4e012
  17. 08 1月, 2016 1 次提交
  18. 07 1月, 2016 1 次提交
    • S
      Use Reactor 2.5 Flux and Mono Rx light API · 8ef7e2ff
      Sebastien Deleuze 提交于
      Flux and Mono are used both for implementation and exposed at API
      level to express 1 versus N semantic and to provide default Rx
      operators:
      - Flux<T> for multiple values Publisher (issue #48)
      - Mono<T> for single value Publisher (issue #50)
      - Mono<Void> for Publisher with no value (issue #49)
      8ef7e2ff
  19. 30 12月, 2015 2 次提交
  20. 09 12月, 2015 2 次提交
  21. 03 12月, 2015 1 次提交
  22. 01 12月, 2015 1 次提交
  23. 26 11月, 2015 1 次提交
  24. 21 11月, 2015 1 次提交
  25. 14 11月, 2015 1 次提交
    • R
      Refactor package structure for web · 81867fa4
      Rossen Stoyanchev 提交于
      The web related code is now under org.springframework.web.reactive.
      This is parallel to org.springframework.web (the top-level package of
      spring-webmvc).
      81867fa4
  26. 31 10月, 2015 1 次提交
  27. 29 10月, 2015 2 次提交
  28. 03 10月, 2015 1 次提交
  29. 22 9月, 2015 1 次提交
  30. 26 8月, 2015 1 次提交
    • R
      Add basic support for @RequestMapping · 20282555
      Rossen Stoyanchev 提交于
      Just enough for a test with an @ResponseBody method that accepts an
      @RequestParam String arg and returning Publisher<String> or String.
      
      See RequestMappingIntegrationTests.
      20282555
  31. 25 8月, 2015 1 次提交
    • R
      Add simple URL mapping and handling · bc7a5acd
      Rossen Stoyanchev 提交于
      This commit adds support for simple URL handler mapping (exact path
      match) and an adapter for the HttpHandler interface to be used to
      handle the request.
      
      The SimpleUrlHandlerMappingIntegrationTests then maps the URLs
      "/foo" and "/bar" to two different handlers.
      bc7a5acd