Package akka.javasdk

Interface Metadata.MetadataEntry

Enclosing interface:
Metadata

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

    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

    • 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

      @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

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

      @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.