public abstract class BuiltInComponentsFromContext extends 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() |
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() |
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, wait
actionCreator, httpConfiguration, javaContextComponents, messagesApi
scheduler
router
configuration
anyContentBodyParser, bytesBodyParser, defaultBodyParser, defaultScalaBodyParser, emptyBodyParser, formUrlEncodedBodyParser, jsonBodyParser, multipartFormDataBodyParser, rawBodyParser, scalaBodyParsers, textBodyParser, tolerantJsonBodyParser, tolerantTextBodyParser, tolerantXmlBodyParser, xmlBodyParser
scalaHttpErrorHandler
executionContext, materializer
clock
httpFilters
sessionConfiguration
public BuiltInComponentsFromContext(ApplicationLoader.Context context)
public com.typesafe.config.Config config()
config
in interface ConfigurationComponents
public Environment environment()
BaseComponents
environment
in interface BaseComponents
public Optional<play.core.SourceMapper> sourceMapper()
sourceMapper
in interface BaseComponents
public Optional<play.api.ApplicationLoader.DevContext> devContext()
BuiltInComponents
devContext
in interface BuiltInComponents
public play.core.WebCommands webCommands()
BuiltInComponents
webCommands
in interface BuiltInComponents
public ApplicationLifecycle applicationLifecycle()
applicationLifecycle
in interface BaseComponents
public Application application()
application
in interface ApplicationComponents
public Langs langs()
langs
in interface I18nComponents
public FileMimeTypes fileMimeTypes()
fileMimeTypes
in interface FileMimeTypesComponents
public MappedJavaHandlerComponents javaHandlerComponents()
javaHandlerComponents
in interface HttpComponents
public HttpErrorHandler httpErrorHandler()
httpErrorHandler
in interface HttpErrorHandlerComponents
public HttpRequestHandler httpRequestHandler()
httpRequestHandler
in interface HttpComponents
public akka.actor.ActorSystem actorSystem()
actorSystem
in interface AkkaComponents
actorSystem
in interface AkkaTypedComponents
public akka.actor.CoordinatedShutdown coordinatedShutdown()
coordinatedShutdown
in interface AkkaComponents
public CookieSigner cookieSigner()
cookieSigner
in interface CryptoComponents
public CSRFTokenSigner csrfTokenSigner()
csrfTokenSigner
in interface CryptoComponents
public Files.TemporaryFileCreator tempFileCreator()
tempFileCreator
in interface TemporaryFileComponents