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, setEncrypter
afterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, init, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName, toString
public void setValueType(Class<?> type)
protected boolean doURLEncode()
doURLEncode
in class AbstractSessionValueEncoder
protected boolean doCompress()
doCompress
in class AbstractSessionValueEncoder
protected String getEqualSign()
protected String encodeValue(Object value) throws Exception
encodeValue
in class AbstractSessionValueEncoder
Exception
protected Object decodeValue(String encodedValue) throws Exception
decodeValue
in class AbstractSessionValueEncoder
Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.