com.twitter.bijection

JavaSerializationInjection

Related Docs: object JavaSerializationInjection | package bijection

class JavaSerializationInjection[T <: Serializable] extends Injection[T, Array[Byte]]

Use Java serialization to write/read bytes. We avoid manifests here to make it easier from Java

Source
JavaSerializationInjection.scala
Linear Supertypes
Injection[T, Array[Byte]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaSerializationInjection
  2. Injection
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaSerializationInjection(klass: Class[T])

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. def andThen[C](g: (Array[Byte]) ⇒ C): (T) ⇒ C

    Definition Classes
    Injection
  5. def andThen[C](bij: Bijection[Array[Byte], C]): Injection[T, C]

    Follow the Injection with a Bijection

    Follow the Injection with a Bijection

    Definition Classes
    Injection
  6. def andThen[C](g: Injection[Array[Byte], C]): Injection[T, C]

    Composes two instances of Injection in a new Injection, with this one applied first.

    Composes two instances of Injection in a new Injection, with this one applied first.

    Definition Classes
    Injection
  7. def apply(t: T): Array[Byte]

    Definition Classes
    JavaSerializationInjectionInjection
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[T](g: (T) ⇒ T): (T) ⇒ Array[Byte]

    Definition Classes
    Injection
  11. def compose[T](bij: Bijection[T, T]): Injection[T, Array[Byte]]

    Definition Classes
    Injection
  12. def compose[T](g: Injection[T, T]): Injection[T, Array[Byte]]

    Composes two instances of Injection in a new Injection, with this one applied last.

    Composes two instances of Injection in a new Injection, with this one applied last.

    Definition Classes
    Injection
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def invert(bytes: Array[Byte]): Try[T]

    Definition Classes
    JavaSerializationInjectionInjection
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toFunction: (T) ⇒ Array[Byte]

    Definition Classes
    Injection
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Injection[T, Array[Byte]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped