|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextValueEncoder
Used to convert values used in event contexts to client string representations and back.
ValueEncoder
,
TypeCoercer
Method Summary | ||
---|---|---|
String |
toClient(Object value)
Converts a context value into a client-side string (that will ultimately be encoded into a URL). |
|
|
toValue(Class<T> requiredType,
String clientValue)
Converts a client value back into a server-side object. |
Method Detail |
---|
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 client
ValueEncoder.toValue(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |