Spark Controller

wip

DSL

Access all the Koin DSL, plus:

  • controller define a class has SparkJava controller - declares Spark HTTP routing

Start

  • start function allow to start Spark server with list of Koin modules
  • runControllers() allow to create all controllers instances

Injection

You should be able to inject your components via constructor for most of things. Else if needed, use the KoinComponent interface