Package akka.javasdk
Interface Metadata.MetadataEntry
- Enclosing interface:
Metadata
public static interface Metadata.MetadataEntry
A metadata entry.
-
Method Details
-
getKey
String getKey()The key for the metadata entry.The key will be in the original case it was inserted or sent as.
- Returns:
- The key.
-
getValue
String getValue()The string value for the metadata entry.- Returns:
- The string value, or null if this entry is not a string Metadata entry.
-
getBinaryValue
ByteBuffer getBinaryValue()The binary value for the metadata entry.- Returns:
- The binary value, or null if this entry is not a string Metadata entry.
-
isText
boolean isText()Whether this entry is a text entry.- Returns:
- True if this entry is a text entry.
-
isBinary
boolean isBinary()Whether this entry is a binary entry.- Returns:
- True if this entry is a binary entry.
-