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
- @native() @throws( ... )
-
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[A, B](p: Dictionary[A, B]): Map[A, B]
- Definition Classes
- ToScalaImplicits
-
implicit
def
dictionary asJava[A, B](m: Map[A, B]): Dictionary[A, B]
- 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: Any): 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[_]
- 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[A, B](m: Map[A, B]): ConcurrentMap[A, B]
- Definition Classes
- ToJavaImplicits
-
implicit
def
map AsJavaMap[A, B](m: Map[A, B]): Map[A, B]
- Definition Classes
- ToJavaImplicits
-
implicit
def
map AsScala[A, B](m: Map[A, B]): Map[A, B]
- Definition Classes
- ToScalaImplicits
-
implicit
def
map AsScalaConcurrentMap[A, B](m: ConcurrentMap[A, B]): Map[A, B]
- Definition Classes
- ToScalaImplicits
-
implicit
def
mutableMap AsJavaMap[A, B](m: Map[A, B]): Map[A, B]
- 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( ... )
-
implicit
def
request2Session(implicit request: Request): Session
- Annotations
- @implicitNotFound( ... )
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
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