Object/Trait

play.core.j

JavaHelpers

Related Docs: trait JavaHelpers | package j

Permalink

object JavaHelpers extends JavaHelpers

Source
JavaHelpers.scala
Linear Supertypes
JavaHelpers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaHelpers
  2. JavaHelpers
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def cookiesToJavaCookies(cookies: Cookies): Cookies

    Permalink
    Definition Classes
    JavaHelpers
  7. def cookiesToScalaCookies(cookies: Iterable[Cookie]): Seq[Cookie]

    Permalink
    Definition Classes
    JavaHelpers
  8. def createContextComponents(messagesApi: MessagesApi, langs: Langs, fileMimeTypes: FileMimeTypes, httpConfiguration: HttpConfiguration): JavaContextComponents

    Permalink

    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
  9. def createContextComponents(configuration: Configuration, env: api.Environment): JavaContextComponents

    Permalink

    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
  10. def createContextComponents(): JavaContextComponents

    Permalink

    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
  11. def createJavaContext(req: Request[RequestBody], components: JavaContextComponents): Context

    Permalink

    Creates a java context from a scala Request[RequestBody]

    Creates a java context from a scala Request[RequestBody]

    req

    the scala request

    components

    the context components (use JavaHelpers.createContextComponents)

    Definition Classes
    JavaHelpers
  12. def createJavaContext(req: RequestHeader, components: JavaContextComponents): Context

    Permalink

    Creates a java context from a scala RequestHeader

    Creates a java context from a scala RequestHeader

    req

    the scala request

    components

    the context components (use JavaHelpers.createContextComponents)

    Definition Classes
    JavaHelpers
  13. def createResult(javaContext: Context, javaResult: Result): Result

    Permalink

    Creates a scala result from java context and result objects

    Creates a scala result from java context and result objects

    javaContext

    the Java Http.Context

    javaResult

    the Java Result

    Definition Classes
    JavaHelpers
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def invokeWithContext(request: RequestHeader, components: JavaContextComponents, f: (Request) ⇒ CompletionStage[Result]): Future[Result]

    Permalink

    Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.

    Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.

    This is intended for use by callback methods in Java adapters.

    request

    The request

    components

    the context components

    f

    The function to invoke

    returns

    The result

    Definition Classes
    JavaHelpers
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def javaMapOfArraysToScalaSeqOfPairs(m: Map[String, Array[String]]): Seq[(String, String)]

    Permalink
    Definition Classes
    JavaHelpers
  22. def javaMapOfListToScalaSeqOfPairs(m: Map[String, List[String]]): Seq[(String, String)]

    Permalink
    Definition Classes
    JavaHelpers
  23. def javaMapToImmutableScalaMap[A, B](m: Map[A, B]): Map[A, B]

    Permalink
    Definition Classes
    JavaHelpers
  24. def mergeNewCookie(cookies: Cookies, newCookie: Cookie): Cookies

    Permalink
    Definition Classes
    JavaHelpers
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def scalaMapOfSeqsToJavaMapOfArrays(m: Map[String, Seq[String]]): Map[String, Array[String]]

    Permalink
    Definition Classes
    JavaHelpers
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def updateRequestWithUri[A](req: Request[A], parsedUri: URI): Request[A]

    Permalink
    Definition Classes
    JavaHelpers
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withContext[A](request: RequestHeader, components: JavaContextComponents)(block: (Context) ⇒ A): A

    Permalink

    Invoke the given block with Java context created from the request header

    Invoke the given block with Java context created from the request header

    Definition Classes
    JavaHelpers

Inherited from JavaHelpers

Inherited from AnyRef

Inherited from Any

Ungrouped