getBinary

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

How to configure

Returns the last binary metadata entry added with the given key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification.

Return

the last binary value associated with the key, or null if no values exist

Parameters

key

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

Throws

if the key does not end with -bin or contains invalid characters


Returns the last binary metadata entry added with the given typed key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification. The value is decoded using the marshaller associated with the key, which encodes values as raw bytes.

Return

the last binary value associated with the key, decoded using the key's marshaller, or null if no values exist

Parameters

key

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

Type Parameters

T

the type of value associated with the key

Throws

if the key name does not end with -bin or contains invalid characters

Returns the last binary metadata entry added with the given key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification.

Return

the last binary value associated with the key, or null if no values exist

Parameters

key

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

Throws

if the key does not end with -bin or contains invalid characters


Returns the last binary metadata entry added with the given typed key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification. The value is decoded using the marshaller associated with the key, which encodes values as raw bytes.

Return

the last binary value associated with the key, decoded using the key's marshaller, or null if no values exist

Parameters

key

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

Type Parameters

T

the type of value associated with the key

Throws

if the key name does not end with -bin or contains invalid characters

Returns the last binary metadata entry added with the given key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification.

Return

the last binary value associated with the key, or null if no values exist

Parameters

key

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

Throws

if the key does not end with -bin or contains invalid characters


Returns the last binary metadata entry added with the given typed key, or null if there are no entries.

Binary keys must end with the "-bin" suffix according to gRPC specification. The value is decoded using the marshaller associated with the key, which encodes values as raw bytes.

Return

the last binary value associated with the key, decoded using the key's marshaller, or null if no values exist

Parameters

key

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

Type Parameters

T

the type of value associated with the key

Throws

if the key name does not end with -bin or contains invalid characters