object JavaHelpers extends JavaHelpers
- Source
- JavaHelpers.scala
- Alphabetic
- By Inheritance
- JavaHelpers
- JavaHelpers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def cookiesToJavaCookies(cookies: Cookies): Cookies
- Definition Classes
- JavaHelpers
- def cookiesToScalaCookies(cookies: Iterable[Cookie]): Seq[Cookie]
- Definition Classes
- JavaHelpers
- def javaMapOfArraysToScalaSeqOfPairs(m: Map[String, Array[String]]): Seq[(String, String)]
- Definition Classes
- JavaHelpers
- def javaMapOfListToImmutableScalaMapOfSeq[A, B](javaMap: Map[A, List[B]]): Map[A, Seq[B]]
- def javaMapOfListToScalaSeqOfPairs(m: Map[String, List[String]]): Seq[(String, String)]
- Definition Classes
- JavaHelpers
- def javaMapToImmutableScalaMap[A, B](m: Map[A, B]): Map[A, B]
- Definition Classes
- JavaHelpers
- def mergeNewCookie(cookies: Cookies, newCookie: Cookie): Cookies
- Definition Classes
- JavaHelpers
- def scalaMapOfSeqsToJavaMapOfArrays(m: Map[String, Seq[String]]): Map[String, Array[String]]
- Definition Classes
- JavaHelpers
- def updateRequestWithUri[A](req: Request[A], parsedUri: URI): Request[A]
- Definition Classes
- JavaHelpers
Deprecated Value Members
- def createContextComponents(messagesApi: MessagesApi, langs: Langs, fileMimeTypes: FileMimeTypes, httpConfiguration: HttpConfiguration): JavaContextComponents
Creates JavaContextComponents directly from components..
Creates JavaContextComponents directly from components..
- messagesApi
the messagesApi instance
- langs
the langs instance
- fileMimeTypes
the file mime types
- httpConfiguration
the http configuration
- returns
an instance of JavaContextComponents with given input components.
- Definition Classes
- JavaHelpers
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead
- def createContextComponents(configuration: Configuration, env: api.Environment): JavaContextComponents
Creates context components from environment.
Creates context components from environment.
- configuration
play config.
- env
play environment.
- returns
an instance of JavaContextComponents with default messagesApi and langs.
- Definition Classes
- JavaHelpers
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead
- def createContextComponents(): JavaContextComponents
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.
- returns
an instance of JavaContextComponents.
- Definition Classes
- JavaHelpers
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead