Module lettuce.core

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, use StringCodec.UTF8 instead.
A RedisCodec that handles UTF-8 encoded keys and values.
Author:
Will Glozer, Mark Paluch
See Also:
StringCodec, StandardCharsets.UTF_8
  • Constructor Details

    • Utf8StringCodec

      public Utf8StringCodec()
      Deprecated.
      Initialize a new instance that encodes and decodes strings using the UTF-8 charset;