Provides helper methods that manage Java to Scala Result and Scala to Java Context creation
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JavaActionobject JavaHelpers.type
Members list
Value members
Concrete methods
Deprecated methods
Creates java context components from environment, using play.api.Configuration.reference and play.api.Environment.simple as defaults.
Creates java context components from environment, using play.api.Configuration.reference and play.api.Environment.simple as defaults.
Attributes
- Returns
-
an instance of JavaContextComponents.
- Deprecated
- true
Creates context components from environment.
Creates context components from environment.
Value parameters
- configuration
-
play config.
- env
-
play environment.
Attributes
- Returns
-
an instance of JavaContextComponents with default messagesApi and langs.
- Deprecated
- true
Creates JavaContextComponents directly from components..
Creates JavaContextComponents directly from components..
Value parameters
- fileMimeTypes
-
the file mime types
- httpConfiguration
-
the http configuration
- langs
-
the langs instance
- messagesApi
-
the messagesApi instance
Attributes
- Returns
-
an instance of JavaContextComponents with given input components.
- Deprecated
- true