Package akka.javasdk

Interface Metadata.MetadataEntry

Enclosing interface:
Metadata

public static interface Metadata.MetadataEntry
A metadata entry.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Deprecated.
    binary not supported, use getValue()
    The key for the metadata entry.
    The string value for the metadata entry.
    boolean
    Deprecated.
    binary not supported, use getValue()
    boolean
    Whether this entry is a text entry.
  • Method Details Link icon

    • getKey Link icon

      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 Link icon

      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 Link icon

      @Deprecated ByteBuffer getBinaryValue()
      Deprecated.
      binary not supported, use getValue()
      The binary value for the metadata entry.
      Returns:
      The binary value, or null if this entry is not a string Metadata entry.
    • isText Link icon

      boolean isText()
      Whether this entry is a text entry.
      Returns:
      True if this entry is a text entry.
    • isBinary Link icon

      @Deprecated boolean isBinary()
      Deprecated.
      binary not supported, use getValue()
      Whether this entry is a binary entry.
      Returns:
      True if this entry is a binary entry.