public class SimpleValueEncoder extends AbstractSessionValueEncoder
encrypter| Constructor and Description |
|---|
SimpleValueEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decodeValue(String encodedValue) |
protected boolean |
doCompress()
简单值不压缩,取得的字符串较短。
|
protected boolean |
doURLEncode() |
protected String |
encodeValue(Object value) |
void |
setType(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 setType(Class<?> type)
protected boolean doURLEncode()
doURLEncode in class AbstractSessionValueEncoderprotected boolean doCompress()
doCompress in class AbstractSessionValueEncoderprotected 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.