1. 21 11月, 2019 1 次提交
    • R
      Allow async metadata in RSocketRequester · 996f7290
      Rossen Stoyanchev 提交于
      This commit allows single-value async producers for the values of
      metadata entries in both the SETUP and for requests. The same is also
      enabled for data in the SETUP frame.
      
      Close gh-23640
      996f7290
  2. 19 9月, 2019 1 次提交
  3. 18 9月, 2019 1 次提交
  4. 02 9月, 2019 2 次提交
  5. 30 7月, 2019 3 次提交
  6. 22 7月, 2019 1 次提交
  7. 08 7月, 2019 1 次提交
  8. 29 6月, 2019 1 次提交
    • R
      More flexible RSocket metadata support · 5bf070a8
      Rossen Stoyanchev 提交于
      The responding side now relies on a new MetadataExtractor which decodes
      metadata entries of interest, and adds them to an output map whose
      values are then added as Message headers, and are hence accessible to
      controller methods.
      
      Decoded metadata entry values can be added to the output map one for
      one, or translated to any number of values (e.g. JSON properties),
      as long as one of the resulting pairs has a key called "route".
      
      On the requesting side, now any metadata can be sent, and a String
      route for example is not required to be provided explicitly. Instead
      an application could create any metadata (e.g. JSON properties) as long
      as the server can work out the route from it.
      
      The commit contains further refinements on the requesting side so that
      any mime type can be used, not only composite or routing metadata, e.g.
      a route in an "text/plain" entry.
      
      Closes gh-23157
      5bf070a8
  9. 20 6月, 2019 2 次提交
    • R
      Generalize RSocketRequester data methods · d6b5c200
      Rossen Stoyanchev 提交于
      Replace the Publisher argument in RequestSpec's
      data(Publisher, Class<T>) and
      data(Publisher, ParameterizedTypeReference<T>) methods with Object thus
      allowing any reactive type known to the ReactiveAdapterRegistry to be
      passed in directly rather than adapted to Publisher first.
      d6b5c200
    • R
      Remove MessageHandlerAcceptor sub-class · 22fd521e
      Rossen Stoyanchev 提交于
      This commit removes the MessageHandlerAcceptor sub-class of
      RSocketMessageHandler, and rather than implementing directly the
      contracts for RSocket client and server acceptors, RSocketMessageHandler
      now exposes clientAcceptor() and serverAcceptor() methods that return
      the required adapter instances.
      
      This provides better separation between the RSocketMessageHandler and
      the RSocket adapter code, and also avoids implementing generic
      interfaces like the BiFunction required for the client acceptor.
      22fd521e
  10. 13 6月, 2019 1 次提交
  11. 26 4月, 2019 1 次提交
  12. 12 4月, 2019 2 次提交
  13. 22 3月, 2019 1 次提交
  14. 08 3月, 2019 1 次提交
  15. 05 3月, 2019 3 次提交