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)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.