Appendix D. Data Type Mappings

Table D.1. Flash to Java Data Mappings

Numberany of the Java numeric types
int/uint * any of the non-floating point Java numeric types
StringString
BooleanBoolean/boolean
ArrayList
Objectorg.red5.io.utils.ObjectMap
Datejava.util.Date
XMLorg.w3c.dom.Document
ByteArray *org.red5.io.amf3.ByteArray
IExternalizable *org.red5.io.amf3.IExternalizable
ArrayCollection *org.red5.compatibility.flex.messaging.io.ArrayCollection
ObjectProxy *org.red5.compatibility.flex.messaging.io.ObjectProxy
nullnull
custom class **custom class

[Note]Note

Please note that Red5 performs automatic parameter conversion, e.g. if you pass a number to a method that takes a String as parameter, it is automatically converted.

  1. * - Only available in Flash Player 9 or newer (AMF3)

  2. ** - You can map the class to serialize to in Red5 by adding