public abstract class HeaderValue extends Object
Modifier and Type | Method and Description |
---|---|
static HeaderValue |
fromBoolean(boolean value) |
static HeaderValue |
fromByte(byte value) |
static HeaderValue |
fromByteArray(byte[] bytes) |
static HeaderValue |
fromByteBuffer(ByteBuffer buf) |
static HeaderValue |
fromDate(Date value) |
static HeaderValue |
fromInteger(int value) |
static HeaderValue |
fromLong(long value) |
static HeaderValue |
fromShort(short value) |
static HeaderValue |
fromString(String string) |
static HeaderValue |
fromTimestamp(Instant value) |
static HeaderValue |
fromUuid(UUID value) |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getByteArray() |
ByteBuffer |
getByteBuffer() |
Date |
getDate() |
int |
getInteger() |
long |
getLong() |
short |
getShort() |
String |
getString() |
Instant |
getTimestamp() |
abstract software.amazon.eventstream.HeaderType |
getType() |
UUID |
getUuid() |
public static HeaderValue fromBoolean(boolean value)
public static HeaderValue fromByte(byte value)
public static HeaderValue fromShort(short value)
public static HeaderValue fromInteger(int value)
public static HeaderValue fromLong(long value)
public static HeaderValue fromByteArray(byte[] bytes)
public static HeaderValue fromByteBuffer(ByteBuffer buf)
public static HeaderValue fromString(String string)
public static HeaderValue fromTimestamp(Instant value)
public static HeaderValue fromDate(Date value)
public static HeaderValue fromUuid(UUID value)
public abstract software.amazon.eventstream.HeaderType getType()
public boolean getBoolean()
public byte getByte()
public short getShort()
public int getInteger()
public long getLong()
public byte[] getByteArray()
public final ByteBuffer getByteBuffer()
public String getString()
public Instant getTimestamp()
public Date getDate()
public UUID getUuid()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.