p
play
package play
Package Members
- package api
Contains the public API for Scala developers.
Contains the public API for Scala developers.
Access the current Play application
import play.api.Play.current
Read configuration
val poolSize = configuration.getInt("engine.pool.size")
Use the logger
Logger.info("Hello!")
Define a Plugin
class MyPlugin(app: Application) extends Plugin
Create adhoc applications (for testing)
val application = Application(new File("."), this.getClass.getClassloader, None, Play.Mode.DEV)
- package core
- package filters
- package routing
- package server
- package twirl
- package utils