Packages

object HandlerConverters extends HandlerConverters

Linear Supertypes
HandlerConverters, LowPriorityHandlerConverters1, LowPriorityHandlerConverters2, LowPriorityHandlerConverters3, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HandlerConverters
  2. HandlerConverters
  3. LowPriorityHandlerConverters1
  4. LowPriorityHandlerConverters2
  5. LowPriorityHandlerConverters3
  6. AnyRef
  7. 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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. implicit final def fromDocumentHandler[T](h: BSONDocumentHandler[T]): OFormat[T]

    Implicit conversion from new BSONDocumentHandler to Play JSON.

    Implicit conversion from new BSONDocumentHandler to Play JSON.

    import reactivemongo.play.json.compat.HandlerConverters.fromDocumentHandler
    
    def bar[T](bh: reactivemongo.api.bson.BSONDocumentHandler[T]) = {
      val h: play.api.libs.json.OFormat[T] = bh
      h
    }
    Definition Classes
    HandlerConverters
  10. implicit final def fromDocumentReader[T](r: BSONDocumentReader[T]): Reads[T]

    import reactivemongo.play.json.compat.HandlerConverters.fromDocumentReader
    
    def foo[T](r: reactivemongo.api.bson.BSONDocumentReader[T]) = {
      val jr: play.api.libs.json.Reads[T] = r
      jr
    }
    Definition Classes
    LowPriorityHandlerConverters2
  11. implicit final def fromDocumentWriter[T](w: BSONDocumentWriter[T]): OWrites[T]

    import reactivemongo.play.json.compat.HandlerConverters.fromDocumentWriter
    
    def bar[T](lw: reactivemongo.api.bson.BSONDocumentWriter[T]) = {
      val w: play.api.libs.json.OWrites[T] = lw
      w
    }
    Definition Classes
    LowPriorityHandlerConverters2
  12. implicit final def fromHandler[T](h: BSONHandler[T]): Format[T]
    Definition Classes
    LowPriorityHandlerConverters1
  13. implicit final def fromReader[T](r: BSONReader[T]): Reads[T]
    Definition Classes
    LowPriorityHandlerConverters3
  14. implicit final def fromWriter[T](w: BSONWriter[T]): Writes[T]
    Definition Classes
    LowPriorityHandlerConverters3
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit def jsonReaderNewValue[B <: BSONValue, L](implicit r: BSONDocumentReader[B], conv: (B) => L): Reads[L]

    Based on the compatibility conversions, provides instances of Play JSON Reads for the new BSON value API.

    Based on the compatibility conversions, provides instances of Play JSON Reads for the new BSON value API.

    Definition Classes
    HandlerConverters
  19. implicit def jsonWriterNewValue[B <: BSONValue, L](implicit w: BSONDocumentWriter[B], conv: (L) => B): OWrites[L]

    Based on the compatibility conversions, provides instances of Play JSON OWrites for the new BSON value API.

    Based on the compatibility conversions, provides instances of Play JSON OWrites for the new BSON value API.

    Definition Classes
    HandlerConverters
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. implicit final def toDocumentHandler[T](h: OFormat[T]): BSONDocumentHandler[T]

    Implicit conversion from Play JSON OFormat to the BSON API.

    Implicit conversion from Play JSON OFormat to the BSON API.

    import reactivemongo.play.json.compat.HandlerConverters.toDocumentHandler
    
    def foo[T](jh: play.api.libs.json.OFormat[T]) = {
      val h: reactivemongo.api.bson.BSONDocumentHandler[T] = jh
      h
    }
    Definition Classes
    HandlerConverters
  25. implicit final def toDocumentReader[T](implicit r: Reads[T]): BSONDocumentReader[T]

    Provided there is a Play JSON Reads, resolve a new one.

    Provided there is a Play JSON Reads, resolve a new one.

    Definition Classes
    LowPriorityHandlerConverters3
  26. implicit final def toDocumentReaderConv[T](r: Reads[T]): BSONDocumentReader[T]

    import reactivemongo.play.json.compat.HandlerConverters.toDocumentReaderConv
    
    def lorem[T](jr: play.api.libs.json.Reads[T]) = {
      val w: reactivemongo.api.bson.BSONDocumentReader[T] = jr
      w
    }
    Definition Classes
    LowPriorityHandlerConverters3
  27. implicit final def toDocumentWriter[T](implicit w: OWrites[T]): BSONDocumentWriter[T]

    Provided there is a Play JSON OWrites, resolve a new one.

    Provided there is a Play JSON OWrites, resolve a new one.

    Definition Classes
    LowPriorityHandlerConverters2
  28. implicit final def toDocumentWriterConv[T](w: OWrites[T]): BSONDocumentWriter[T]

    import reactivemongo.play.json.compat.HandlerConverters.toDocumentWriterConv
    
    def foo[T](jw: play.api.libs.json.OWrites[T]) = {
      val w: reactivemongo.api.bson.BSONDocumentWriter[T] = jw
      w
    }
    Definition Classes
    LowPriorityHandlerConverters2
  29. implicit final def toHandler[T](h: Format[T]): BSONHandler[T]
    Definition Classes
    LowPriorityHandlerConverters1
  30. implicit final def toReader[T](r: Reads[T]): BSONReader[T]
    Definition Classes
    LowPriorityHandlerConverters2
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. implicit final def toWriter[T](w: Writes[T]): BSONWriter[T]
    Definition Classes
    LowPriorityHandlerConverters3
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from HandlerConverters

Inherited from LowPriorityHandlerConverters1

Inherited from LowPriorityHandlerConverters2

Inherited from LowPriorityHandlerConverters3

Inherited from AnyRef

Inherited from Any

Ungrouped