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.
A
RedisCodec 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, estimateSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.lettuce.core.codec.RedisCodec
decodeKey, decodeValue, encodeKey, encodeValue
-
Constructor Details
-
Utf8StringCodec
public Utf8StringCodec()Deprecated.Initialize a new instance that encodes and decodes strings using the UTF-8 charset;
-
StringCodec.UTF8instead.