object HeaderSerializer

Source
HeaderSerializer.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderSerializer
  2. AnyRef
  3. 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. def apply[A](implicit serializer: HeaderSerializer[A]): HeaderSerializer[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asNull[A]: HeaderSerializer[A]

    Creates a new HeaderSerializer which serializes all values of type A as null.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def const[A](bytes: Array[Byte]): HeaderSerializer[A]

    Creates a new HeaderSerializer which serializes all values of type A to the specified bytes.

  9. implicit val contravariant: Contravariant[HeaderSerializer]
  10. def delegate[A](serializer: KafkaSerializer[A]): HeaderSerializer[A]

    Creates a new HeaderSerializer which delegates serialization to the specified Kafka Serializer.

    Creates a new HeaderSerializer which delegates serialization to the specified Kafka Serializer. Note that the close and configure functions won't be called for the delegate. Also, the topic is an empty String and no headers are provided.

  11. implicit val double: HeaderSerializer[Double]
  12. def empty[A]: HeaderSerializer[A]

    Creates a new HeaderSerializer which serializes all values of type A as the empty Array[Byte].

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. implicit val float: HeaderSerializer[Float]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. implicit val identity: HeaderSerializer[Array[Byte]]

    The identity HeaderSerializer, which does not perform serialization, simply using the input bytes as the output.

  20. def instance[A](f: (A) => Array[Byte]): HeaderSerializer[A]

    Creates a new HeaderSerializer from the specified function.

  21. implicit val int: HeaderSerializer[Int]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. implicit val long: HeaderSerializer[Long]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. implicit def option[A](implicit serializer: HeaderSerializer[A]): HeaderSerializer[Option[A]]

    The option HeaderSerializer serializes None as null, and serializes Some values using the serializer for type A.

  28. implicit val short: HeaderSerializer[Short]
  29. def string(charset: Charset): HeaderSerializer[String]

    Creates a new HeaderSerializer which serializes String values using the specified Charset.

    Creates a new HeaderSerializer which serializes String values using the specified Charset. Note that the default String serializer uses UTF-8.

  30. implicit val string: HeaderSerializer[String]
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. implicit val unit: HeaderSerializer[Unit]
  34. def uuid(charset: Charset): HeaderSerializer[UUID]

    Creates a new HeaderSerializer which serializes UUID values as Strings with the specified Charset.

    Creates a new HeaderSerializer which serializes UUID values as Strings with the specified Charset. Note that the default UUID serializer uses UTF-8.

  35. implicit val uuid: HeaderSerializer[UUID]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped