object PlayMagicForJava extends ToScalaImplicits with ToJavaImplicits
Defines a magic helper for Play templates in a Java context.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PlayMagicForJava
- ToJavaImplicits
- ToScalaImplicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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[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[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 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).""")
- 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 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).")
- 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 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).")
- 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).")
- 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()