1. 17 9月, 2016 4 次提交
    • A
      Polishing · 228a01b2
      Arjen Poutsma 提交于
      228a01b2
    • A
      Extract body extraction logic in w.r.f · 8072497c
      Arjen Poutsma 提交于
      This commit refactors the response body extraction logic into a separate
      function: BodyExtractor. Standard populators can be found in
      BodyExtractors.
      8072497c
    • A
      Extract body population logic in w.r.f · 5e730408
      Arjen Poutsma 提交于
      This commit extracts the response body insertion logic into a separate
      strategy interface: BodyPopulator. Standard populators can be found in
      BodyPopulators.
      5e730408
    • A
      Refactor Router to RoutingFunctions · 91bde2e6
      Arjen Poutsma 提交于
      This commit refactors the Router into a RoutingFunctions class, by:
      
        - Renaming the class :)
        - Moving all Configuration logic into a separate, top-level
        Configuration class with mutable builder.
      91bde2e6
  2. 07 9月, 2016 1 次提交
    • A
      Polishing · f8ac17f2
      Arjen Poutsma 提交于
      Two changes to web.reactive.function:
      
       - Changed Response.stream method to allow for specific Publisher types
       to be returned in Response.
      
       - Router now stores HttpMessageReader|Writer retrieved from
       Configuration in the attributes as supplier, not as stream, to allow
       for multiple reads.
      f8ac17f2
  3. 01 9月, 2016 1 次提交
    • A
      Introduce new functional web API · f1319f58
      Arjen Poutsma 提交于
      This commit introduces a new, functional web programming model in the
      org.springframework.web.reactive.function package. The key types
      are:
      
       - Request and Response are new Java 8-DSLs for access to the HTTP
         request and response
       - HandlerFunction represents a function to handle a request to a
         response
       - RoutingFunction maps a request to a HandlerFunction
       - FilterFunction filters a routing as defined by a RoutingFunction
       - RequestPredicate is used by Router to create RoutingFunctions
       - RequestPredicates offers common RequestPredicate instances
      f1319f58