object HeaderDeserializer

Source
HeaderDeserializer.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderDeserializer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Attempt[A] = HeaderDeserializer[Either[Throwable, A]]

    Alias for HeaderDeserializer[Either[Throwable, A]].

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 deserializer: HeaderDeserializer[A]): HeaderDeserializer[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attempt[A](implicit deserializer: Attempt[A]): Attempt[A]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def const[A](a: A): HeaderDeserializer[A]

    Creates a new HeaderDeserializer which deserializes all bytes to the specified value of type A.

  9. def delegate[A](deserializer: KafkaDeserializer[A]): HeaderDeserializer[A]

    Creates a new HeaderDeserializer which delegates deserialization to the specified Kafka Deserializer.

    Creates a new HeaderDeserializer which delegates deserialization to the specified Kafka Deserializer. Please 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.

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

    The identity HeaderDeserializer, which does not perform any kind of deserialization, simply using the input bytes as the output.

  18. def instance[A](f: (Array[Byte]) => A): HeaderDeserializer[A]

    Creates a new HeaderDeserializer from the specified function.

  19. implicit val int: Attempt[Int]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit val long: Attempt[Long]
  22. implicit val monad: Monad[HeaderDeserializer]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. implicit def option[A](implicit deserializer: HeaderDeserializer[A]): HeaderDeserializer[Option[A]]

    The option HeaderDeserializer returns None when the bytes are null, and otherwise deserializes using the deserializer for the type A, wrapping the result in Some.

  27. implicit val short: Attempt[Short]
  28. def string(charset: Charset): HeaderDeserializer[String]

    Creates a new HeaderDeserializer which deserializes String values using the specified Charset.

    Creates a new HeaderDeserializer which deserializes String values using the specified Charset. Note that the default String deserializer uses UTF-8.

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

    Creates a new HeaderDeserializer which deserializes String values using the specified Charset as UUIDs.

    Creates a new HeaderDeserializer which deserializes String values using the specified Charset as UUIDs. Note that the default UUID deserializer uses UTF-8.

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

Inherited from AnyRef

Inherited from Any

Ungrouped