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, setEncrypter
afterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, init, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName, toString
public void setType(Class<?> type)
protected boolean doURLEncode()
doURLEncode
in class AbstractSessionValueEncoder
protected boolean doCompress()
doCompress
in class AbstractSessionValueEncoder
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.