public interface CallHeaders
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String key)
Check whether the given metadata key is present.
|
String |
get(String key)
Get the value of a metadata key.
|
Iterable<String> |
getAll(String key)
Get all values present for the given metadata key.
|
Iterable<byte[]> |
getAllByte(String key)
Get all values present for the given metadata key.
|
byte[] |
getByte(String key)
Get the value of a metadata key.
|
void |
insert(String key,
byte[] value)
Insert a metadata pair with the given value.
|
void |
insert(String key,
String value)
Insert a metadata pair with the given value.
|
Set<String> |
keys()
Get a set of all the metadata keys.
|
String get(String key)
byte[] getByte(String key)
Iterable<byte[]> getAllByte(String key)
void insert(String key, String value)
Duplicate metadata are permitted.
void insert(String key, byte[] value)
Duplicate metadata are permitted.
boolean containsKey(String key)
Copyright © 2023 The Apache Software Foundation. All rights reserved.