Package play
Class BuiltInComponentsFromContext
java.lang.Object
play.ContextBasedBuiltInComponents
play.BuiltInComponentsFromContext
- All Implemented Interfaces:
BuiltInComponents,ApplicationComponents,BaseComponents,BodyParserComponents,ConfigurationComponents,CryptoComponents,FileMimeTypesComponents,HttpComponents,HttpConfigurationComponents,HttpErrorHandlerComponents,PekkoComponents,PekkoTypedComponents,TemporaryFileComponents,I18nComponents
- Direct Known Subclasses:
RoutingDslComponentsFromContext
This helper class provides all the built-in component dependencies by trading them for a single
dependency - the application loader context.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class play.ContextBasedBuiltInComponents
actorSystem, application, applicationLifecycle, config, cookieSigner, coordinatedShutdown, csrfTokenSigner, devContext, environment, fileMimeTypes, httpErrorHandler, httpRequestHandler, javaHandlerComponents, langs, sourceMapper, tempFileCreator, webCommandsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface play.components.BaseComponents
routerMethods inherited from interface play.components.BodyParserComponents
anyContentBodyParser, bytesBodyParser, defaultBodyParser, defaultScalaBodyParser, emptyBodyParser, formUrlEncodedBodyParser, jsonBodyParser, multipartFormDataBodyParser, rawBodyParser, scalaBodyParsers, textBodyParser, tolerantJsonBodyParser, tolerantTextBodyParser, tolerantXmlBodyParser, xmlBodyParserMethods inherited from interface play.BuiltInComponents
actionCreator, httpConfiguration, javaContextComponents, messagesApiMethods inherited from interface play.components.ConfigurationComponents
configurationMethods inherited from interface play.components.CryptoComponents
clockMethods inherited from interface play.components.HttpComponents
httpFiltersMethods inherited from interface play.components.HttpConfigurationComponents
sessionConfigurationMethods inherited from interface play.components.HttpErrorHandlerComponents
scalaHttpErrorHandlerMethods inherited from interface play.components.PekkoComponents
executionContext, materializerMethods inherited from interface play.components.PekkoTypedComponents
scheduler
-
Constructor Details
-
BuiltInComponentsFromContext
-
-
Method Details
-
context
Description copied from class:ContextBasedBuiltInComponentsReturns the application loader context. The implementation should return a stable, effectively singleton value.- Specified by:
contextin classContextBasedBuiltInComponents
-