org.crazycake.shiro.serializer
类 ObjectSerializer
java.lang.Object
org.crazycake.shiro.serializer.ObjectSerializer
- 所有已实现的接口:
- RedisSerializer<Object>
public class ObjectSerializer
- extends Object
- implements RedisSerializer<Object>
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE_ARRAY_OUTPUT_STREAM_SIZE
public static final int BYTE_ARRAY_OUTPUT_STREAM_SIZE
- 另请参见:
- 常量字段值
ObjectSerializer
public ObjectSerializer()
serialize
public byte[] serialize(Object object)
throws SerializationException
- 指定者:
- 接口
RedisSerializer<Object> 中的 serialize
- 抛出:
SerializationException
deserialize
public Object deserialize(byte[] bytes)
throws SerializationException
- 指定者:
- 接口
RedisSerializer<Object> 中的 deserialize
- 抛出:
SerializationException
Copyright © 2018. All rights reserved.