public interface SessionValueEncoder
Modifier and Type | Method and Description |
---|---|
Object |
decode(String encodedValue,
SessionStore.StoreContext storeContext)
将字符串解码成对象。
|
String |
encode(Object value,
SessionStore.StoreContext storeContext)
将对象编码成字符串。
|
String encode(Object value, SessionStore.StoreContext storeContext) throws SessionValueEncoderException
SessionValueEncoderException
- 如果编码失败Object decode(String encodedValue, SessionStore.StoreContext storeContext) throws SessionValueEncoderException
SessionValueEncoderException
- 如果解码失败Copyright © 2006–2018 TinyGroup. All rights reserved.