public static interface Headers.ValueConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
convertBoolean(boolean value) |
T |
convertByte(byte value) |
T |
convertChar(char value) |
T |
convertDouble(double value) |
T |
convertFloat(float value) |
T |
convertInt(int value) |
T |
convertLong(long value) |
T |
convertObject(Object value) |
T |
convertShort(short value) |
T |
convertTimeMillis(long value) |
boolean |
convertToBoolean(T value) |
byte |
convertToByte(T value) |
char |
convertToChar(T value) |
double |
convertToDouble(T value) |
float |
convertToFloat(T value) |
int |
convertToInt(T value) |
long |
convertToLong(T value) |
short |
convertToShort(T value) |
long |
convertToTimeMillis(T value) |
T convertBoolean(boolean value)
boolean convertToBoolean(T value)
T convertByte(byte value)
byte convertToByte(T value)
T convertChar(char value)
char convertToChar(T value)
T convertShort(short value)
short convertToShort(T value)
T convertInt(int value)
int convertToInt(T value)
T convertLong(long value)
long convertToLong(T value)
T convertTimeMillis(long value)
long convertToTimeMillis(T value)
T convertFloat(float value)
float convertToFloat(T value)
T convertDouble(double value)
double convertToDouble(T value)
Copyright © 2008–2015 The Netty Project. All rights reserved.