Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
createAssertableMetadata(StringToStringsMap headers) Creates string representation of metadata from headers map with duplicates |
|
static java.lang.String |
createAssertableMetadata(StringToStringMap headers) Creates string representation of metadata from headers map with unique names |
|
static java.lang.String |
createAssertableMetadata(StringToStringsMap headers, int statusCode) Creates string representation of metadata from headers map with duplicates |
|
static java.lang.String |
createAssertableMetadata(StringToStringMap headers, int statusCode) Creates string representation of metadata from headers map with unique names |
|
static java.lang.String |
createAssertableMetadata(StringToStringMap headers, java.lang.String key, int partition) Creates string representation of Kafka message metadata |
|
static java.lang.String |
createAssertableMetadata(ConsumerRecord<java.lang.Object, java.lang.Object> kafkaMessage) Creates string representation of Kafka message metadata |
|
static MetadataRepresentation |
fromStringRepresentation(java.lang.String json) |
|
static java.lang.String |
getHeaderPath(java.lang.String headerName) Returns JSON path of a given header in JSON representation |
|
static java.lang.String |
toStringRepresentation(MetadataRepresentation metadataRepresentation) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates string representation of metadata from headers map with duplicates
headers
- map with headers with duplicatesCreates string representation of metadata from headers map with unique names
headers
- map with headers with unique namesCreates string representation of metadata from headers map with duplicates
headers
- map with headers with duplicatesstatusCode
- http status codeCreates string representation of metadata from headers map with unique names
headers
- map with headers with unique namesstatusCode
- http status codeCreates string representation of Kafka message metadata
headers
- map with headers with unique nameskey
- key valuepartition
- partition valueCreates string representation of Kafka message metadata
kafkaMessage
- Kafka messageReturns JSON path of a given header in JSON representation
headerName
- header's name