Play framework.
Contains the public API for Scala developers.
Contains the public API for Scala developers.
val poolSize = configuration.getInt("engine.pool.size")
Logger.info("Hello!")
class MyPlugin(app: Application) extends Plugin
val application = Application(new File("."), this.getClass.getClassloader, None, Play.Mode.DEV)
Contains the Controller/Action/Result API to handle HTTP requests.
Contains the Controller/Action/Result API to handle HTTP requests.
For example, a typical controller:
class HomeController @Inject() (val controllerComponents: ControllerComponents) extends BaseController { def index = Action { Ok("It works!") } }