- java.lang.Object
-
- io.netty5.handler.codec.UnsupportedValueConverter<V>
-
- All Implemented Interfaces:
ValueConverter<V>
public final class UnsupportedValueConverter<V> extends Object implements ValueConverter<V>
UnsupportedOperationException
will be thrown from allValueConverter
methods.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description V
convertBoolean(boolean value)
V
convertByte(byte value)
V
convertChar(char value)
V
convertDouble(double value)
V
convertFloat(float value)
V
convertInt(int value)
V
convertLong(long value)
V
convertObject(Object value)
V
convertShort(short value)
V
convertTimeMillis(long value)
boolean
convertToBoolean(V value)
byte
convertToByte(V value)
char
convertToChar(V value)
double
convertToDouble(V value)
float
convertToFloat(V value)
int
convertToInt(V value)
long
convertToLong(V value)
short
convertToShort(V value)
long
convertToTimeMillis(V value)
static <V> UnsupportedValueConverter<V>
instance()
-
-
-
Method Detail
-
instance
public static <V> UnsupportedValueConverter<V> instance()
-
convertObject
public V convertObject(Object value)
- Specified by:
convertObject
in interfaceValueConverter<V>
-
convertBoolean
public V convertBoolean(boolean value)
- Specified by:
convertBoolean
in interfaceValueConverter<V>
-
convertToBoolean
public boolean convertToBoolean(V value)
- Specified by:
convertToBoolean
in interfaceValueConverter<V>
-
convertByte
public V convertByte(byte value)
- Specified by:
convertByte
in interfaceValueConverter<V>
-
convertToByte
public byte convertToByte(V value)
- Specified by:
convertToByte
in interfaceValueConverter<V>
-
convertChar
public V convertChar(char value)
- Specified by:
convertChar
in interfaceValueConverter<V>
-
convertToChar
public char convertToChar(V value)
- Specified by:
convertToChar
in interfaceValueConverter<V>
-
convertShort
public V convertShort(short value)
- Specified by:
convertShort
in interfaceValueConverter<V>
-
convertToShort
public short convertToShort(V value)
- Specified by:
convertToShort
in interfaceValueConverter<V>
-
convertInt
public V convertInt(int value)
- Specified by:
convertInt
in interfaceValueConverter<V>
-
convertToInt
public int convertToInt(V value)
- Specified by:
convertToInt
in interfaceValueConverter<V>
-
convertLong
public V convertLong(long value)
- Specified by:
convertLong
in interfaceValueConverter<V>
-
convertToLong
public long convertToLong(V value)
- Specified by:
convertToLong
in interfaceValueConverter<V>
-
convertTimeMillis
public V convertTimeMillis(long value)
- Specified by:
convertTimeMillis
in interfaceValueConverter<V>
-
convertToTimeMillis
public long convertToTimeMillis(V value)
- Specified by:
convertToTimeMillis
in interfaceValueConverter<V>
-
convertFloat
public V convertFloat(float value)
- Specified by:
convertFloat
in interfaceValueConverter<V>
-
convertToFloat
public float convertToFloat(V value)
- Specified by:
convertToFloat
in interfaceValueConverter<V>
-
convertDouble
public V convertDouble(double value)
- Specified by:
convertDouble
in interfaceValueConverter<V>
-
convertToDouble
public double convertToDouble(V value)
- Specified by:
convertToDouble
in interfaceValueConverter<V>
-
-