Package play
Class BuiltInComponentsFromContext
- 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
public abstract class BuiltInComponentsFromContext extends ContextBasedBuiltInComponents
This helper class provides all the built-in component dependencies by trading them for a single dependency - the application loader context.
-
-
Constructor Summary
Constructors Constructor Description BuiltInComponentsFromContext(ApplicationLoader.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationLoader.Context
context()
Returns the application loader context.-
Methods inherited from class play.ContextBasedBuiltInComponents
actorSystem, application, applicationLifecycle, config, cookieSigner, coordinatedShutdown, csrfTokenSigner, devContext, environment, fileMimeTypes, httpErrorHandler, httpRequestHandler, javaHandlerComponents, langs, sourceMapper, tempFileCreator, webCommands
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface play.components.BaseComponents
router
-
Methods inherited from interface play.components.BodyParserComponents
anyContentBodyParser, bytesBodyParser, defaultBodyParser, defaultScalaBodyParser, emptyBodyParser, formUrlEncodedBodyParser, jsonBodyParser, multipartFormDataBodyParser, rawBodyParser, scalaBodyParsers, textBodyParser, tolerantJsonBodyParser, tolerantTextBodyParser, tolerantXmlBodyParser, xmlBodyParser
-
Methods inherited from interface play.BuiltInComponents
actionCreator, httpConfiguration, javaContextComponents, messagesApi
-
Methods inherited from interface play.components.ConfigurationComponents
configuration
-
Methods inherited from interface play.components.CryptoComponents
clock
-
Methods inherited from interface play.components.HttpComponents
httpFilters
-
Methods inherited from interface play.components.HttpConfigurationComponents
sessionConfiguration
-
Methods inherited from interface play.components.HttpErrorHandlerComponents
scalaHttpErrorHandler
-
Methods inherited from interface play.components.PekkoComponents
executionContext, materializer
-
Methods inherited from interface play.components.PekkoTypedComponents
scheduler
-
-
-
-
Constructor Detail
-
BuiltInComponentsFromContext
public BuiltInComponentsFromContext(ApplicationLoader.Context context)
-
-
Method Detail
-
context
public ApplicationLoader.Context context()
Description copied from class:ContextBasedBuiltInComponents
Returns the application loader context. The implementation should return a stable, effectively singleton value.- Specified by:
context
in classContextBasedBuiltInComponents
-
-