- <init>
Constructor called by the transport layer when it receives binary metadata.
Metadata will mutate the
- get
Returns the last metadata entry added with the name 'name' parsed as T.
- put
Adds the key, value pair. If key already has values, value is added to the end.
Duplicate values for
- containsKey
Returns true if a value is defined for the given key.This is done by linear
search, so if it is foll
- keys
Returns set of all keys in store.
- merge
Merge values from the given set of keys into this set of metadata. If a key is
present in keys, then
- discardAll
Remove all values for the given key without returning them. This is a minor
performance optimization
- bytesEqual
- cap
- getAll
Returns all the metadata entries named 'name', in the order they were received,
parsed as T, or null
- headerCount
Returns the total number of key-value headers in this metadata, including
duplicates.
- isEmpty