A Play application.
A full configuration set.
The Global plugin executes application's globalSettings
onStart
and onStop
.
Defines an application’s global settings.
A Play logger.
Typical logger interface.
A Play plugin.
Generic exception for unexpected error cases.
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.
Helper utilities related to Router
.
Contains the Cache access API.
Contains data manipulation helpers (typically HTTP form handling)
Contains the JDBC database access API.
Contains standard HTTP constants.
Contains the internationalisation API.
Contains various APIs that are useful while developing web applications.
Contains the Controller/Action/Result API to handle HTTP requests.
Contains Template adapters for typical Play applications.
Contains test helpers.
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)