Package play
Interface BuiltInComponents
- All Superinterfaces:
ApplicationComponents,BaseComponents,BodyParserComponents,ConfigurationComponents,CryptoComponents,FileMimeTypesComponents,HttpComponents,HttpConfigurationComponents,HttpErrorHandlerComponents,I18nComponents,PekkoComponents,PekkoTypedComponents,TemporaryFileComponents
- All Known Implementing Classes:
BuiltInComponentsFromContext,ContextBasedBuiltInComponents,RoutingDslComponentsFromContext
public interface BuiltInComponents
extends PekkoComponents, PekkoTypedComponents, ApplicationComponents, BaseComponents, BodyParserComponents, ConfigurationComponents, CryptoComponents, FileMimeTypesComponents, HttpComponents, HttpErrorHandlerComponents, I18nComponents, TemporaryFileComponents
Helper to provide the Play built in components.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActionCreatordefault Optional<play.api.ApplicationLoader.DevContext>Helper to interact with the Play build environment.default play.api.http.HttpConfigurationdefault play.core.j.JavaContextComponentsDeprecated.default MessagesApidefault play.core.WebCommandsCommands that intercept requests before the rest of the application handles them.Methods inherited from interface play.components.ApplicationComponents
applicationMethods inherited from interface play.components.BaseComponents
applicationLifecycle, environment, router, sourceMapperMethods 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.components.ConfigurationComponents
config, configurationMethods inherited from interface play.components.CryptoComponents
clock, cookieSigner, csrfTokenSignerMethods inherited from interface play.components.FileMimeTypesComponents
fileMimeTypesMethods inherited from interface play.components.HttpComponents
httpFilters, httpRequestHandler, javaHandlerComponentsMethods inherited from interface play.components.HttpConfigurationComponents
sessionConfigurationMethods inherited from interface play.components.HttpErrorHandlerComponents
httpErrorHandler, scalaHttpErrorHandlerMethods inherited from interface play.i18n.I18nComponents
langsMethods inherited from interface play.components.PekkoComponents
actorSystem, coordinatedShutdown, executionContext, materializerMethods inherited from interface play.components.PekkoTypedComponents
actorSystem, schedulerMethods inherited from interface play.components.TemporaryFileComponents
tempFileCreator
-
Method Details
-
javaContextComponents
Deprecated.- Specified by:
javaContextComponentsin interfaceHttpErrorHandlerComponents
-
messagesApi
- Specified by:
messagesApiin interfaceI18nComponents- Returns:
- an instance of MessagesApi.
-
actionCreator
- Specified by:
actionCreatorin interfaceHttpComponents
-
httpConfiguration
default play.api.http.HttpConfiguration httpConfiguration()- Specified by:
httpConfigurationin interfaceHttpConfigurationComponents
-
webCommands
default play.core.WebCommands webCommands()Commands that intercept requests before the rest of the application handles them. Used by Evolutions.- Returns:
- the application web commands.
-
devContext
Helper to interact with the Play build environment. Only available in dev mode.
-