object PlayMagicForJava extends JavaImplicitConversions
Defines a magic helper for Play templates in a Java context.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PlayMagicForJava
- JavaImplicitConversions
- ToJavaImplicits
- ToScalaImplicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def buffer AsJavaList[A](b: Buffer[A]): List[A]
- Definition Classes
- ToJavaImplicits
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def collection AsScalaIterable[A](i: Collection[A]): Iterable[A]
- Definition Classes
- ToScalaImplicits
- implicit def collection asJava[A](it: Iterable[A]): Collection[A]
- Definition Classes
- ToJavaImplicits
- implicit def dictionary AsScalaMap[K, V](p: Dictionary[K, V]): Map[K, V]
- Definition Classes
- ToScalaImplicits
- implicit def dictionary asJava[K, V](m: Map[K, V]): Dictionary[K, V]
- Definition Classes
- ToJavaImplicits
- implicit def enumeration AsScalaIterator[A](i: Enumeration[A]): Iterator[A]
- Definition Classes
- ToScalaImplicits
- implicit def enumeration asJava[A](it: Iterator[A]): Enumeration[A]
- Definition Classes
- ToJavaImplicits
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def iterable AsScalaIterable[A](i: Iterable[A]): Iterable[A]
- Definition Classes
- ToScalaImplicits
- implicit def iterable asJava[A](i: Iterable[A]): Iterable[A]
- Definition Classes
- ToJavaImplicits
- implicit def iterator asJava[A](it: Iterator[A]): Iterator[A]
- Definition Classes
- ToJavaImplicits
- implicit def iterator asScala[A](it: Iterator[A]): Iterator[A]
- Definition Classes
- ToScalaImplicits
- implicit def javaOptionToScala[T](x: Optional[T]): Option[T]
Transforms a Play Java
Optional
to a proper ScalaOption
. - implicit def javaRequest2ScalaRequest(implicit r: Request): Request[_]
- implicit def list asScalaBuffer[A](l: List[A]): Buffer[A]
- Definition Classes
- ToScalaImplicits
- implicit def map AsJavaConcurrentMap[K, V](m: Map[K, V]): ConcurrentMap[K, V]
- Definition Classes
- ToJavaImplicits
- implicit def map AsJavaMap[K, V](m: Map[K, V]): Map[K, V]
- Definition Classes
- ToJavaImplicits
- implicit def map AsScala[K, V](m: Map[K, V]): Map[K, V]
- Definition Classes
- ToScalaImplicits
- implicit def map AsScalaConcurrentMap[K, V](m: ConcurrentMap[K, V]): Map[K, V]
- Definition Classes
- ToScalaImplicits
- implicit def mutableMap AsJavaMap[K, V](m: Map[K, V]): Map[K, V]
- Definition Classes
- ToJavaImplicits
- implicit def mutableSeq AsJavaList[A](seq: Seq[A]): List[A]
- Definition Classes
- ToJavaImplicits
- implicit def mutableSet AsJavaSet[A](s: Set[A]): Set[A]
- Definition Classes
- ToJavaImplicits
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def properties AsScalaMap(p: Properties): Map[String, String]
- Definition Classes
- ToScalaImplicits
- 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).")
- 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).")
- implicit def seq AsJavaList[A](seq: Seq[A]): List[A]
- Definition Classes
- ToJavaImplicits
- implicit def set AsJavaSet[A](s: Set[A]): Set[A]
- Definition Classes
- ToJavaImplicits
- implicit def set asScala[A](s: Set[A]): Set[A]
- Definition Classes
- ToScalaImplicits
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- implicit def implicitJavaLang: Lang
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27
- implicit def implicitJavaMessages: MessagesProvider
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27
- implicit def requestHeader: RequestHeader
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) See https://www.playframework.com/documentation/latest/JavaHttpContextMigration27