This section describes the support for basic data types. On the server side these values are generally compatible with either their primitive type or their corresponding wrapper class.
Simply use Javascript String objects when setting String parameter values.
There is support for all number types supported by Java. On the client side, number values are always serialized as their String representation and then on the server side they are converted to the correct destination type. Conversion into either a primitive or wrapper type is supported for Byte
, Double
, Float
, Integer
, Long
and Short
types.
Booleans are represented client side by Javascript Boolean values, and server side by a Java boolean.