public class SerializationEncoder extends AbstractSerializationEncoder
Serializer
提供的序列化机制来编码对象,以及解码字符串。
可设置Serializer
和Encrypter
, Serializer
的默认值为JavaSerializer
。
encrypter, serializer
Constructor and Description |
---|
SerializationEncoder() |
Modifier and Type | Method and Description |
---|---|
Encrypter |
getEncrypter() |
Serializer |
getSerializer() |
void |
setEncrypter(Encrypter encrypter) |
void |
setSerializer(Serializer serializer) |
decode, encode, init, toString
afterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName
public Serializer getSerializer()
public void setSerializer(Serializer serializer)
public Encrypter getEncrypter()
public void setEncrypter(Encrypter encrypter)
Copyright © 2006–2018 TinyGroup. All rights reserved.