public abstract class HeaderValue
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
protected |
HeaderValue() |
限定符和类型 | 方法和说明 |
---|---|
static HeaderValue |
fromBoolean(boolean value) |
static HeaderValue |
fromByte(byte value) |
static HeaderValue |
fromByteArray(byte[] bytes) |
static HeaderValue |
fromByteBuffer(java.nio.ByteBuffer buf) |
static HeaderValue |
fromDate(java.util.Date value) |
static HeaderValue |
fromInteger(int value) |
static HeaderValue |
fromLong(long value) |
static HeaderValue |
fromShort(short value) |
static HeaderValue |
fromString(java.lang.String string) |
static HeaderValue |
fromTimestamp(long timstamp) |
static HeaderValue |
fromUuid(java.util.UUID value) |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getByteArray() |
java.nio.ByteBuffer |
getByteBuffer() |
java.util.Date |
getDate() |
int |
getInteger() |
long |
getLong() |
short |
getShort() |
java.lang.String |
getString() |
long |
getTimestamp() |
abstract HeaderType |
getType() |
java.util.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(java.nio.ByteBuffer buf)
public static HeaderValue fromString(java.lang.String string)
public static HeaderValue fromTimestamp(long timstamp)
public static HeaderValue fromDate(java.util.Date value)
public static HeaderValue fromUuid(java.util.UUID value)
public abstract HeaderType getType()
public boolean getBoolean()
public byte getByte()
public short getShort()
public int getInteger()
public long getLong()
public byte[] getByteArray()
public final java.nio.ByteBuffer getByteBuffer()
public java.lang.String getString()
public long getTimestamp()
public java.util.Date getDate()
public java.util.UUID getUuid()