Class HeaderValue


  • public abstract class HeaderValue
    extends Object
    A typed header value. The underlying value can be obtained by calling the appropriate getter.
    • Method Detail

      • fromBoolean

        public static HeaderValue fromBoolean​(boolean value)
      • fromByte

        public static HeaderValue fromByte​(byte value)
      • fromShort

        public static HeaderValue fromShort​(short value)
      • fromInteger

        public static HeaderValue fromInteger​(int value)
      • fromLong

        public static HeaderValue fromLong​(long value)
      • fromByteArray

        public static HeaderValue fromByteArray​(byte[] bytes)
      • getType

        public abstract software.amazon.eventstream.HeaderType getType()
      • getBoolean

        public boolean getBoolean()
      • getByte

        public byte getByte()
      • getShort

        public short getShort()
      • getInteger

        public int getInteger()
      • getLong

        public long getLong()
      • getByteArray

        public byte[] getByteArray()
      • getByteBuffer

        public final ByteBuffer getByteBuffer()
      • getString

        public String getString()
      • getTimestamp

        public Instant getTimestamp()
      • getDate

        public Date getDate()
      • getUuid

        public UUID getUuid()