Class KafkaHeader
java.lang.Object
io.vertx.mutiny.kafka.client.producer.KafkaHeader
- All Implemented Interfaces:
MutinyDelegate
Vert.x Kafka producer record header.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
KafkaHeader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKafkaHeader(io.vertx.kafka.client.producer.KafkaHeader delegate) Create a new instance ofKafkaHeaderdelegating to the given (non-null) instance ofKafkaHeader.KafkaHeader(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.kafka.client.producer.KafkaHeaderGet the delegate instance.inthashCode()static KafkaHeaderstatic KafkaHeaderkey()static KafkaHeadernewInstance(io.vertx.kafka.client.producer.KafkaHeader delegate) Creates a new instance of theKafkaHeader.toString()io.vertx.core.buffer.Buffervalue()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
KafkaHeader
public KafkaHeader(io.vertx.kafka.client.producer.KafkaHeader delegate) Create a new instance ofKafkaHeaderdelegating to the given (non-null) instance ofKafkaHeader. -
KafkaHeader
-
-
Method Details
-
getDelegate
public io.vertx.kafka.client.producer.KafkaHeader getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
header
-
header
-
key
- Returns:
- the buffer key
-
value
public io.vertx.core.buffer.Buffer value()- Returns:
- the buffer value, may be null
- See Also:
-
newInstance
Creates a new instance of theKafkaHeader. -
hashCode
public int hashCode() -
equals
-
toString
-