类 MyJsonJacksonCodec
java.lang.Object
org.redisson.client.codec.BaseCodec
com.zengtengpeng.codec.MyJsonJacksonCodec
- 所有已实现的接口:
org.redisson.client.codec.Codec
public class MyJsonJacksonCodec
extends org.redisson.client.codec.BaseCodec
Json codec based on Jackson implementation.
https://github.com/FasterXML/jackson
Fully thread-safe.
- 作者:
- Nikita Koksharov
- 另请参阅:
-
CborJacksonCodec
MsgPackJacksonCodec
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final MyJsonJacksonCodec
protected final com.fasterxml.jackson.databind.ObjectMapper
从类继承的字段 org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
构造器概要
构造器构造器说明MyJsonJacksonCodec
(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper) MyJsonJacksonCodec
(ClassLoader classLoader) MyJsonJacksonCodec
(ClassLoader classLoader, MyJsonJacksonCodec codec) -
方法概要
修饰符和类型方法说明protected static com.fasterxml.jackson.databind.ObjectMapper
createObjectMapper
(ClassLoader classLoader, com.fasterxml.jackson.databind.ObjectMapper om) com.fasterxml.jackson.databind.ObjectMapper
org.redisson.client.protocol.Decoder<Object>
org.redisson.client.protocol.Encoder
protected void
init
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected void
initTypeInclusion
(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper) 从类继承的方法 org.redisson.client.codec.BaseCodec
copy, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
字段详细资料
-
INSTANCE
-
mapObjectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper
-
-
构造器详细资料
-
MyJsonJacksonCodec
public MyJsonJacksonCodec() -
MyJsonJacksonCodec
-
MyJsonJacksonCodec
-
MyJsonJacksonCodec
public MyJsonJacksonCodec(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper)
-
-
方法详细资料
-
createObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(ClassLoader classLoader, com.fasterxml.jackson.databind.ObjectMapper om) -
initTypeInclusion
protected void initTypeInclusion(com.fasterxml.jackson.databind.ObjectMapper mapObjectMapper) -
init
protected void init(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
getValueDecoder
-
getValueEncoder
public org.redisson.client.protocol.Encoder getValueEncoder() -
getClassLoader
- 指定者:
getClassLoader
在接口中org.redisson.client.codec.Codec
- 覆盖:
getClassLoader
在类中org.redisson.client.codec.BaseCodec
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-