removeAll

Available in a dev version: 0․11․0-grpc-186

How to configure

Removes all values for the given key and returns them.

Return

a list of all values that were removed, or an empty list if there were no values

Parameters

key

the name of the metadata entries to remove (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .). Must not end with -bin.

Throws

if the key ends with -bin


Removes all values for the given typed key and returns them.

Each value is decoded using the marshaller associated with the key. The marshaller must encode values as ASCII strings (not raw bytes).

Return

a list of all values that were removed, decoded using the key's marshaller, or an empty list if there were no values

Parameters

key

the typed metadata key. The key name must not end with -bin.

Type Parameters

T

the type of values associated with the key

Throws

if the key name ends with -bin or contains invalid characters

Removes all values for the given key and returns them.

Return

a list of all values that were removed, or an empty list if there were no values

Parameters

key

the name of the metadata entries to remove (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .). Must not end with -bin.

Throws

if the key ends with -bin


Removes all values for the given typed key and returns them.

Each value is decoded using the marshaller associated with the key. The marshaller must encode values as ASCII strings (not raw bytes).

Return

a list of all values that were removed, decoded using the key's marshaller, or an empty list if there were no values

Parameters

key

the typed metadata key. The key name must not end with -bin.

Type Parameters

T

the type of values associated with the key

Throws

if the key name ends with -bin or contains invalid characters

Removes all values for the given key and returns them.

Return

a list of all values that were removed, or an empty list if there were no values

Parameters

key

the name of the metadata entries to remove (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .). Must not end with -bin.

Throws

if the key ends with -bin


Removes all values for the given typed key and returns them.

Each value is decoded using the marshaller associated with the key. The marshaller must encode values as ASCII strings (not raw bytes).

Return

a list of all values that were removed, decoded using the key's marshaller, or an empty list if there were no values

Parameters

key

the typed metadata key. The key name must not end with -bin.

Type Parameters

T

the type of values associated with the key

Throws

if the key name ends with -bin or contains invalid characters