Table D.1. Flash to Java Data Mappings
Number | any of the Java numeric types |
int/uint * | any of the non-floating point Java numeric types |
String | String |
Boolean | Boolean/boolean |
Array | List |
Object | org.red5.io.utils.ObjectMap |
Date | java.util.Date |
XML | org.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 |
null | null |
custom class ** | custom class |
![]() | 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. |
* - Only available in Flash Player 9 or newer (AMF3)
** - You can map the class to serialize to in Red5 by adding