org.crazycake.shiro.serializer
类 StringSerializer
java.lang.Object
org.crazycake.shiro.serializer.StringSerializer
- 所有已实现的接口:
- RedisSerializer<String>
public class StringSerializer
- extends Object
- implements RedisSerializer<String>
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSerializer
public StringSerializer()
serialize
public byte[] serialize(String s)
throws SerializationException
- 指定者:
- 接口
RedisSerializer<String> 中的 serialize
- 抛出:
SerializationException
deserialize
public String deserialize(byte[] bytes)
throws SerializationException
- 指定者:
- 接口
RedisSerializer<String> 中的 deserialize
- 抛出:
SerializationException
getCharset
public String getCharset()
setCharset
public void setCharset(String charset)
Copyright © 2018. All rights reserved.