Package io.netty.handler.codec
Class UnsupportedValueConverter<V>
java.lang.Object
io.netty.handler.codec.UnsupportedValueConverter<V>
- All Implemented Interfaces:
ValueConverter<V>
UnsupportedOperationException
will be thrown from all ValueConverter
methods.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertBoolean
(boolean value) convertByte
(byte value) convertChar
(char value) convertDouble
(double value) convertFloat
(float value) convertInt
(int value) convertLong
(long value) convertObject
(Object value) convertShort
(short value) 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()
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
UnsupportedValueConverter
private UnsupportedValueConverter()
-
-
Method Details
-
instance
-
convertObject
- Specified by:
convertObject
in interfaceValueConverter<V>
-
convertBoolean
- Specified by:
convertBoolean
in interfaceValueConverter<V>
-
convertToBoolean
- Specified by:
convertToBoolean
in interfaceValueConverter<V>
-
convertByte
- Specified by:
convertByte
in interfaceValueConverter<V>
-
convertToByte
- Specified by:
convertToByte
in interfaceValueConverter<V>
-
convertChar
- Specified by:
convertChar
in interfaceValueConverter<V>
-
convertToChar
- Specified by:
convertToChar
in interfaceValueConverter<V>
-
convertShort
- Specified by:
convertShort
in interfaceValueConverter<V>
-
convertToShort
- Specified by:
convertToShort
in interfaceValueConverter<V>
-
convertInt
- Specified by:
convertInt
in interfaceValueConverter<V>
-
convertToInt
- Specified by:
convertToInt
in interfaceValueConverter<V>
-
convertLong
- Specified by:
convertLong
in interfaceValueConverter<V>
-
convertToLong
- Specified by:
convertToLong
in interfaceValueConverter<V>
-
convertTimeMillis
- Specified by:
convertTimeMillis
in interfaceValueConverter<V>
-
convertToTimeMillis
- Specified by:
convertToTimeMillis
in interfaceValueConverter<V>
-
convertFloat
- Specified by:
convertFloat
in interfaceValueConverter<V>
-
convertToFloat
- Specified by:
convertToFloat
in interfaceValueConverter<V>
-
convertDouble
- Specified by:
convertDouble
in interfaceValueConverter<V>
-
convertToDouble
- Specified by:
convertToDouble
in interfaceValueConverter<V>
-