public interface ContextValueEncoder
ValueEncoder
,
TypeCoercer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toClient(java.lang.Object value)
Converts a context value into a client-side string (that will ultimately be encoded into a URL).
|
<T> T |
toValue(java.lang.Class<T> requiredType,
java.lang.String clientValue)
Converts a client value back into a server-side object.
|
java.lang.String toClient(java.lang.Object value)
value
- to convert (may not be null)ValueEncoder.toClient(Object)
<T> T toValue(java.lang.Class<T> requiredType, java.lang.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.