public interface ContextValueEncoder
ValueEncoder
,
TypeCoercer
Modifier and Type | Method and Description |
---|---|
String |
toClient(Object value)
Converts a context value into a client-side string (that will ultimately be encoded into a URL).
|
<T> T |
toValue(Class<T> requiredType,
String clientValue)
Converts a client value back into a server-side object.
|
String toClient(Object value)
value
- to convert (may not be null)ValueEncoder.toClient(Object)
<T> T toValue(Class<T> requiredType, String clientValue)
requiredType
- required type to convert the string toclientValue
- value obtained from context passed from clientValueEncoder.toValue(String)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.