o

play.core.j

PlayMagicForJava

object PlayMagicForJava extends JavaImplicitConversions

Defines a magic helper for Play templates in a Java context.

Source
TemplateMagicForJava.scala
Linear Supertypes
JavaImplicitConversions, ToJavaImplicits, ToScalaImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayMagicForJava
  2. JavaImplicitConversions
  3. ToJavaImplicits
  4. ToScalaImplicits
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. implicit def buffer AsJavaList[A](b: Buffer[A]): List[A]
    Definition Classes
    ToJavaImplicits
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. implicit def collection AsScalaIterable[A](i: Collection[A]): Iterable[A]
    Definition Classes
    ToScalaImplicits
  8. implicit def collection asJava[A](it: Iterable[A]): Collection[A]
    Definition Classes
    ToJavaImplicits
  9. implicit def dictionary AsScalaMap[K, V](p: Dictionary[K, V]): Map[K, V]
    Definition Classes
    ToScalaImplicits
  10. implicit def dictionary asJava[K, V](m: Map[K, V]): Dictionary[K, V]
    Definition Classes
    ToJavaImplicits
  11. implicit def enumeration AsScalaIterator[A](i: Enumeration[A]): Iterator[A]
    Definition Classes
    ToScalaImplicits
  12. implicit def enumeration asJava[A](it: Iterator[A]): Enumeration[A]
    Definition Classes
    ToJavaImplicits
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. implicit def iterable AsScalaIterable[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    ToScalaImplicits
  20. implicit def iterable asJava[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    ToJavaImplicits
  21. implicit def iterator asJava[A](it: Iterator[A]): Iterator[A]
    Definition Classes
    ToJavaImplicits
  22. implicit def iterator asScala[A](it: Iterator[A]): Iterator[A]
    Definition Classes
    ToScalaImplicits
  23. implicit def javaOptionToScala[T](x: Optional[T]): Option[T]

    Transforms a Play Java Optional to a proper Scala Option.

  24. implicit def javaRequest2ScalaRequest(implicit r: Request): Request[_]
  25. implicit def list asScalaBuffer[A](l: List[A]): Buffer[A]
    Definition Classes
    ToScalaImplicits
  26. implicit def map AsJavaConcurrentMap[K, V](m: Map[K, V]): ConcurrentMap[K, V]
    Definition Classes
    ToJavaImplicits
  27. implicit def map AsJavaMap[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    ToJavaImplicits
  28. implicit def map AsScala[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    ToScalaImplicits
  29. implicit def map AsScalaConcurrentMap[K, V](m: ConcurrentMap[K, V]): Map[K, V]
    Definition Classes
    ToScalaImplicits
  30. implicit def mutableMap AsJavaMap[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    ToJavaImplicits
  31. implicit def mutableSeq AsJavaList[A](seq: Seq[A]): List[A]
    Definition Classes
    ToJavaImplicits
  32. implicit def mutableSet AsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    ToJavaImplicits
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. implicit def properties AsScalaMap(p: Properties): Map[String, String]
    Definition Classes
    ToScalaImplicits
  37. implicit def request2Flash(implicit request: Request): Flash
    Annotations
    @implicitNotFound("No Http.Request implicit parameter found when accessing flash. You must add it as a template parameter like @(arg1, arg2,...)(implicit request: Http.Request).")
  38. implicit def request2Session(implicit request: Request): Session
    Annotations
    @implicitNotFound("No Http.Request implicit parameter found when accessing session. You must add it as a template parameter like @(arg1, arg2,...)(implicit request: Http.Request).")
  39. implicit def seq AsJavaList[A](seq: Seq[A]): List[A]
    Definition Classes
    ToJavaImplicits
  40. implicit def set AsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    ToJavaImplicits
  41. implicit def set asScala[A](s: Set[A]): Set[A]
    Definition Classes
    ToScalaImplicits
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. implicit def implicitJavaLang: Lang
    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27

  2. implicit def implicitJavaMessages: MessagesProvider
    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27

  3. implicit def requestHeader: RequestHeader
    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27

Inherited from JavaImplicitConversions

Inherited from ToJavaImplicits

Inherited from ToScalaImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped