o

play.core.j

PlayMagicForJava

object PlayMagicForJava extends ToScalaImplicits with ToJavaImplicits

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

Source
TemplateMagicForJava.scala
Linear Supertypes
ToJavaImplicits, ToScalaImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayMagicForJava
  2. ToJavaImplicits
  3. ToScalaImplicits
  4. AnyRef
  5. 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. implicit def buffer AsJavaList[A](b: Buffer[A]): List[A]
    Definition Classes
    ToJavaImplicits
  6. def clone(): AnyRef
    Attributes
    protected[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[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 javaRequestHeader2ScalaRequestHeader(implicit r: RequestHeader): RequestHeader
    Annotations
    @implicitNotFound("""An implicit play.mvc.Http.RequestHeader (or play.mvc.Http.Request) is necessary so that it can be converted to a play.api.mvc.RequestHeader.
    You must add it as a template parameter like @(arg1, arg2, ...)(implicit request: play.mvc.Http.RequestHeader)."""
    )
  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 messagesProvider2Lang(implicit msg: MessagesProvider): Lang
    Annotations
    @implicitNotFound("No play.api.i18n.MessagesProvider implicit parameter found when accessing Lang. You must add it as a template parameter like @(arg1, arg2, ...)(implicit messages: play.i18n.Messages).")
  31. implicit def mutableMap AsJavaMap[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    ToJavaImplicits
  32. implicit def mutableSeq AsJavaList[A](seq: Seq[A]): List[A]
    Definition Classes
    ToJavaImplicits
  33. implicit def mutableSet AsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    ToJavaImplicits
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. implicit def properties AsScalaMap(p: Properties): Map[String, String]
    Definition Classes
    ToScalaImplicits
  38. implicit def request2Flash(implicit request: Request): Flash
    Annotations
    @implicitNotFound("No play.mvc.Http.Request implicit parameter found when accessing flash. You must add it as a template parameter like @(arg1, arg2, ...)(implicit request: Http.Request).")
  39. implicit def request2Session(implicit request: Request): Session
    Annotations
    @implicitNotFound("No play.mvc.Http.Request implicit parameter found when accessing session. You must add it as a template parameter like @(arg1, arg2, ...)(implicit request: Http.Request).")
  40. implicit def seq AsJavaList[A](seq: Seq[A]): List[A]
    Definition Classes
    ToJavaImplicits
  41. implicit def set AsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    ToJavaImplicits
  42. implicit def set asScala[A](s: Set[A]): Set[A]
    Definition Classes
    ToScalaImplicits
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ToJavaImplicits

Inherited from ToScalaImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped