trait JavaHelpers extends AnyRef

Provides helper methods that manage Java to Scala Result and Scala to Java Context creation

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def cookiesToJavaCookies(cookies: Cookies): Cookies
  7. def cookiesToScalaCookies(cookies: Iterable[Cookie]): Seq[Cookie]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def javaMapOfArraysToScalaSeqOfPairs(m: Map[String, Array[String]]): Seq[(String, String)]
  14. def javaMapOfListToScalaSeqOfPairs(m: Map[String, List[String]]): Seq[(String, String)]
  15. def javaMapToImmutableScalaMap[A, B](m: Map[A, B]): Map[A, B]
  16. def mergeNewCookie(cookies: Cookies, newCookie: Cookie): Cookies
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def scalaMapOfSeqsToJavaMapOfArrays(m: Map[String, Seq[String]]): Map[String, Array[String]]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def updateRequestWithUri[A](req: Request[A], parsedUri: URI): Request[A]
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead

  2. 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead

  3. 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) Inject MessagesApi, Langs, FileMimeTypes or HttpConfiguration instead

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped