public abstract class BuiltInComponentsFromContext extends java.lang.Object implements BuiltInComponents
| Constructor and Description |
|---|
BuiltInComponentsFromContext(ApplicationLoader.Context context) |
| Modifier and Type | Method and Description |
|---|---|
akka.actor.ActorSystem |
actorSystem() |
Application |
application() |
ApplicationLifecycle |
applicationLifecycle() |
com.typesafe.config.Config |
config() |
CookieSigner |
cookieSigner() |
akka.actor.CoordinatedShutdown |
coordinatedShutdown() |
CSRFTokenSigner |
csrfTokenSigner() |
java.util.Optional<play.api.ApplicationLoader.DevContext> |
devContext()
Helper to interact with the Play build environment.
|
Environment |
environment()
The application environment.
|
FileMimeTypes |
fileMimeTypes() |
HttpErrorHandler |
httpErrorHandler() |
HttpRequestHandler |
httpRequestHandler() |
MappedJavaHandlerComponents |
javaHandlerComponents() |
Langs |
langs() |
java.util.Optional<play.core.SourceMapper> |
sourceMapper() |
Files.TemporaryFileCreator |
tempFileCreator() |
play.core.WebCommands |
webCommands()
Commands that intercept requests before the rest of the application handles them.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionCreator, httpConfiguration, javaContextComponents, messagesApirouterconfigurationanyContentBodyParser, bytesBodyParser, defaultBodyParser, defaultScalaBodyParser, emptyBodyParser, formUrlEncodedBodyParser, jsonBodyParser, multipartFormDataBodyParser, rawBodyParser, scalaBodyParsers, textBodyParser, tolerantJsonBodyParser, tolerantTextBodyParser, tolerantXmlBodyParser, xmlBodyParserscalaHttpErrorHandlerexecutionContext, materializerclockhttpFilterssessionConfigurationpublic BuiltInComponentsFromContext(ApplicationLoader.Context context)
public com.typesafe.config.Config config()
config in interface ConfigurationComponentspublic Environment environment()
BaseComponentsenvironment in interface BaseComponentspublic java.util.Optional<play.core.SourceMapper> sourceMapper()
sourceMapper in interface BaseComponentspublic java.util.Optional<play.api.ApplicationLoader.DevContext> devContext()
BuiltInComponentsdevContext in interface BuiltInComponentspublic play.core.WebCommands webCommands()
BuiltInComponentswebCommands in interface BuiltInComponentspublic ApplicationLifecycle applicationLifecycle()
applicationLifecycle in interface BaseComponentspublic Application application()
application in interface ApplicationComponentspublic Langs langs()
langs in interface I18nComponentspublic FileMimeTypes fileMimeTypes()
fileMimeTypes in interface FileMimeTypesComponentspublic MappedJavaHandlerComponents javaHandlerComponents()
javaHandlerComponents in interface HttpComponentspublic HttpErrorHandler httpErrorHandler()
httpErrorHandler in interface HttpErrorHandlerComponentspublic HttpRequestHandler httpRequestHandler()
httpRequestHandler in interface HttpComponentspublic akka.actor.ActorSystem actorSystem()
actorSystem in interface AkkaComponentspublic akka.actor.CoordinatedShutdown coordinatedShutdown()
coordinatedShutdown in interface AkkaComponentspublic CookieSigner cookieSigner()
cookieSigner in interface CryptoComponentspublic CSRFTokenSigner csrfTokenSigner()
csrfTokenSigner in interface CryptoComponentspublic Files.TemporaryFileCreator tempFileCreator()
tempFileCreator in interface TemporaryFileComponents