Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15065

Provide a Kotlin DSL for the functional Web API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0 M5
    • Component/s: None
    • Labels:
    • Last commented by a User:
      true

      Description

      It would be nice to find a way to avoid specifying explicitly HandlerFunction lambda type for Kotlin user since they won't be able to fix this for Kotlin 1.1 (see this explanation on KT-14923).

      Possible solutions are :

      • Provide Kotlin specific API for the router
      • Provide Kotlin extensions for RouterFunction and RouterFunctions
      • Modify Java API signature to avoid this issue (unlikely but this is a possible solution)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdeleuze Sébastien Deleuze
                Reporter:
                sdeleuze Sébastien Deleuze
                Last updater:
                Stéphane Nicoll
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 20 weeks, 6 days ago