A Play application.
Loads an application.
Helper to provide the Play built in components.
Helper that provides all the built in components dependencies from the application loader context
A full configuration set.
The environment for the application.
The Global plugin executes application's globalSettings
onStart
and onStop
.
Defines an application’s global settings.
A Play logger.
Typical logger interface.
Generic exception for unexpected error cases.
A Play plugin.
This object provides a set of operations to create Configuration
values.
The default global settings if not defined in the application.
High-level API for logging operations.
Application mode, either DEV
, TEST
, or PROD
.
High-level API to access Play global features.
Contains data manipulation helpers (typically HTTP form handling)
Contains standard HTTP constants.
Contains the internationalisation API.
Play's runtime dependency injection abstraction.
Contains various APIs that are useful while developing web applications.
Contains the Controller/Action/Result API to handle HTTP requests.
(Since version 2.4.0) Use play.api.routing.Router instead
Contains the public API for Scala developers.
Access the current Play application
import play.api.Play.current
Read configuration
Use the logger
Logger.info("Hello!")
Define a Plugin
Create adhoc applications (for testing)