play.api

package play.api

Members list

Type members

Classlikes

trait ConfigLoader[A]

A config loader

A config loader

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object ConfigLoader

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object Configuration

This object provides a set of operations to create Configuration values.

This object provides a set of operations to create Configuration values.

For example, to load a Configuration in a running application:

val config = Configuration.load()
val foo = config.getString("foo").getOrElse("boo")

The underlying implementation is provided by https://github.com/lightbend/config.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Configuration(underlying: Config)

A full configuration set.

A full configuration set.

The underlying implementation is provided by https://github.com/lightbend/config.

Value parameters

underlying

the underlying Config implementation

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Environment(rootPath: File, classLoader: ClassLoader, mode: Mode)

The environment for the application.

The environment for the application.

Captures concerns relating to the classloader and the filesystem for the application.

Value parameters

classLoader

The classloader that all application classes and resources can be loaded from.

mode

The mode of the application.

rootPath

The root path that the application is deployed at.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Environment

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class Mode(val asJava: Mode)

Application mode, either Dev, Test, or Prod.

Application mode, either Dev, Test, or Prod.

Attributes

See also

play.Mode

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Dev
object Prod
object Test
object Mode

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Mode.type