io.vertx.reactivex.kafka.client.producer

## Class KafkaHeader

- java.lang.Object
- - io.vertx.reactivex.kafka.client.producer.KafkaHeader

-     public class KafkaHeader
      extends Object

  Vert.x Kafka producer record header.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<KafkaHeader>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `KafkaHeader(KafkaHeader delegate)`
    `KafkaHeader(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `KafkaHeader` | `getDelegate()`
    `int` | `hashCode()`
    `static KafkaHeader` | `header(String key, Buffer value)`
    `static KafkaHeader` | `header(String key, String value)`
    `String` | `key()`
    `static KafkaHeader` | `newInstance(KafkaHeader arg)`
    `String` | `toString()`
    `Buffer` | `value()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<KafkaHeader> __TYPE_ARG

  - ### Constructor Detail

    - #### KafkaHeader

          public KafkaHeader(KafkaHeader delegate)

    - #### KafkaHeader

          public KafkaHeader(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public KafkaHeader getDelegate()

    - #### header

          public static KafkaHeader header(String key,
                                           Buffer value)

    - #### header

          public static KafkaHeader header(String key,
                                           String value)

    - #### key

          public String key()

      Returns:
        the buffer key

    - #### value

          public Buffer value()

      Returns:
        the buffer value

    - #### newInstance

          public static KafkaHeader newInstance(KafkaHeader arg)

Copyright © 2024 Eclipse. All rights reserved.