JavaHelpers

play.core.j.JavaHelpers
See theJavaHelpers companion trait
object JavaHelpers extends JavaHelpers

Attributes

Companion
trait
Graph
Supertypes
trait JavaHelpers
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def javaMapOfListToImmutableScalaMapOfSeq[A, B](javaMap: Map[A, List[B]]): Map[A, Seq[B]]

Inherited methods

def cookiesToJavaCookies(cookies: Cookies): Cookies

Attributes

Inherited from:
JavaHelpers
def cookiesToScalaCookies(cookies: Iterable[Cookie]): Seq[Cookie]

Attributes

Inherited from:
JavaHelpers

Attributes

Inherited from:
JavaHelpers

Attributes

Inherited from:
JavaHelpers
def javaMapToImmutableScalaMap[A, B](m: Map[A, B]): Map[A, B]

Attributes

Inherited from:
JavaHelpers
def mergeNewCookie(cookies: Cookies, newCookie: Cookie): Cookies

Attributes

Inherited from:
JavaHelpers

Attributes

Inherited from:
JavaHelpers
def updateRequestWithUri[A](req: Request[A], parsedUri: URI): Request[A]

Attributes

Inherited from:
JavaHelpers

Deprecated and Inherited methods

def createContextComponents(messagesApi: MessagesApi, langs: Langs, fileMimeTypes: FileMimeTypes, httpConfiguration: HttpConfiguration): JavaContextComponents

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
Inherited from:
JavaHelpers

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
Inherited from:
JavaHelpers

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
Inherited from:
JavaHelpers