public class MappedValuesEncoder extends AbstractSessionValueEncoder
Map编码成字符串,或反之。支持加密。encrypter| Constructor and Description |
|---|
MappedValuesEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decodeValue(String encodedValue) |
protected boolean |
doCompress()
复杂值压缩,取得的字符串较短。
|
protected boolean |
doURLEncode() |
protected String |
encodeValue(Object value) |
protected String |
getEqualSign() |
void |
setValueType(Class<?> type) |
convertToString, convertToType, decode, encode, getCharset, getTypeConverter, setCharset, setEncrypterafterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, init, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName, toStringpublic void setValueType(Class<?> type)
protected boolean doURLEncode()
doURLEncode in class AbstractSessionValueEncoderprotected boolean doCompress()
doCompress in class AbstractSessionValueEncoderprotected String getEqualSign()
protected String encodeValue(Object value) throws Exception
encodeValue in class AbstractSessionValueEncoderExceptionprotected Object decodeValue(String encodedValue) throws Exception
decodeValue in class AbstractSessionValueEncoderExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.