Package io.lettuce.core.codec
Class Utf8StringCodec
- java.lang.Object
-
- io.lettuce.core.codec.StringCodec
-
- io.lettuce.core.codec.Utf8StringCodec
-
- All Implemented Interfaces:
RedisCodec<String,String>
,ToByteBufEncoder<String,String>
@Deprecated public class Utf8StringCodec extends StringCodec implements RedisCodec<String,String>
Deprecated.since 5.2, useStringCodec.UTF8
instead.ARedisCodec
that handles UTF-8 encoded keys and values.- Author:
- Will Glozer, Mark Paluch
- See Also:
StringCodec
,StandardCharsets.UTF_8
-
-
Field Summary
-
Fields inherited from class io.lettuce.core.codec.StringCodec
ASCII, UTF8
-
-
Constructor Summary
Constructors Constructor Description Utf8StringCodec()
Deprecated.Initialize a new instance that encodes and decodes strings using the UTF-8 charset;
-
Method Summary
-
Methods inherited from class io.lettuce.core.codec.StringCodec
decodeKey, decodeValue, encode, encodeKey, encodeKey, encodeValue, encodeValue, estimateSize, isEstimateExact
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.lettuce.core.codec.RedisCodec
decodeKey, decodeValue, encodeKey, encodeValue
-
-