Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class BuiltInComponentsFromContexttrait ContextBasedBuiltInComponentstrait BuiltInComponentstrait PekkoTypedComponentstrait PekkoComponentstrait I18nComponentsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
The application's configuration.
The application's configuration.
Attributes
- Definition Classes
-
ContextBasedBuiltInComponents -> BuiltInComponents -> PekkoComponents -> I18nComponents
Inherited methods
Alias method to defaultActionBuilder. This just helps to keep the idiom of using Action
when creating Router
s using the built in components.
Alias method to defaultActionBuilder. This just helps to keep the idiom of using Action
when creating Router
s using the built in components.
Attributes
- Returns
-
the default action builder.
- Inherited from:
- BuiltInComponents
A registry to receive application lifecycle events, e.g. to close resources when the application stops.
A registry to receive application lifecycle events, e.g. to close resources when the application stops.
Attributes
- Definition Classes
-
ContextBasedBuiltInComponents -> BuiltInComponents -> PekkoComponents
- Inherited from:
- ContextBasedBuiltInComponents
Helper to interact with the Play build environment. Only available in dev mode.
Helper to interact with the Play build environment. Only available in dev mode.
Attributes
- Definition Classes
-
ContextBasedBuiltInComponents -> BuiltInComponents
- Inherited from:
- ContextBasedBuiltInComponents
The application's environment, e.g. it's ClassLoader and root path.
The application's environment, e.g. it's ClassLoader and root path.
Attributes
- Definition Classes
-
ContextBasedBuiltInComponents -> BuiltInComponents -> PekkoComponents -> I18nComponents
- Inherited from:
- ContextBasedBuiltInComponents
List of filters, typically provided by mixing in play.filters.HttpFiltersComponents or play.api.NoHttpFiltersComponents.
List of filters, typically provided by mixing in play.filters.HttpFiltersComponents or play.api.NoHttpFiltersComponents.
In most cases you will want to mixin HttpFiltersComponents and append your own filters:
class MyComponents(context: ApplicationLoader.Context)
extends BuiltInComponentsFromContext(context)
with play.filters.HttpFiltersComponents {
lazy val loggingFilter = new LoggingFilter()
override def httpFilters = {
super.httpFilters :+ loggingFilter
}
}
If you want to filter elements out of the list, you can do the following:
class MyComponents(context: ApplicationLoader.Context)
extends BuiltInComponentsFromContext(context)
with play.filters.HttpFiltersComponents {
override def httpFilters = {
super.httpFilters.filterNot(_.getClass == classOf[CSRFFilter])
}
}
Attributes
- Inherited from:
- BuiltInComponents
Alias method to playBodyParsers.
Alias method to playBodyParsers.
Attributes
- Inherited from:
- BuiltInComponents
The router that's used to pass requests to the correct handler.
The router that's used to pass requests to the correct handler.
Attributes
- Inherited from:
- BuiltInComponents
Commands that intercept requests before the rest of the application handles them. Used by Evolutions.
Commands that intercept requests before the rest of the application handles them. Used by Evolutions.
Attributes
- Inherited from:
- BuiltInComponents
Deprecated and Inherited methods
Helper to locate the source code for the application. Only available in dev mode.
Helper to locate the source code for the application. Only available in dev mode.
Attributes
- Deprecated
- true
- Inherited from:
- BuiltInComponents
Abstract fields
Concrete fields
Inherited fields
Attributes
- Inherited from:
- PekkoComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- PekkoComponents
Attributes
- Inherited from:
- BuiltInComponentsFromContext
Attributes
- Inherited from:
- ContextBasedBuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- PekkoComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
The runtime Injector instance provided to the DefaultApplication. This injector is set up to allow existing (deprecated) legacy APIs to function. It is not set up to support injecting arbitrary Play components.
The runtime Injector instance provided to the DefaultApplication. This injector is set up to allow existing (deprecated) legacy APIs to function. It is not set up to support injecting arbitrary Play components.
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- I18nComponents
Attributes
- Inherited from:
- I18nComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Attributes
- Inherited from:
- BuiltInComponents
Deprecated and Inherited fields
Attributes
- Deprecated
- true
- Inherited from:
- BuiltInComponents
Implicits
Inherited implicits
Attributes
- Inherited from:
- PekkoComponents
Attributes
- Inherited from:
- PekkoComponents
Attributes
- Inherited from:
- PekkoTypedComponents