public class AMF0Body extends Object implements Serializable
AMF0Header,
AMF0Message,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_TYPE_AMF3_OBJECT
AMF3 data
|
static byte |
DATA_TYPE_ARRAY
Array Object type
|
static byte |
DATA_TYPE_AS_OBJECT
General Object type
|
static byte |
DATA_TYPE_BOOLEAN
Boolean object type
|
static byte |
DATA_TYPE_CUSTOM_CLASS
Custom class object type
|
static byte |
DATA_TYPE_DATE
Date object type
|
static byte |
DATA_TYPE_LONG_STRING
Long String object type
|
static byte |
DATA_TYPE_MIXED_ARRAY
Mixed Array Object type
|
static byte |
DATA_TYPE_MOVIE_CLIP
Movie clip object type
|
static byte |
DATA_TYPE_NULL
NULL object type
|
static byte |
DATA_TYPE_NUMBER
Number object type
|
static byte |
DATA_TYPE_OBJECT
Object object type
|
static byte |
DATA_TYPE_OBJECT_END
Object end type
|
static byte |
DATA_TYPE_RECORDSET
RecordSet object type
|
static byte |
DATA_TYPE_REFERENCE_OBJECT
Reference object type
|
static byte |
DATA_TYPE_STRING
String object type
|
static byte |
DATA_TYPE_UNDEFINED
Undefined object type
|
static byte |
DATA_TYPE_UNKNOWN
Unknow object type
|
static byte |
DATA_TYPE_XML
XML Document object type
|
protected String |
response |
protected String |
serviceMethodName |
protected String |
serviceName |
protected String |
target |
protected byte |
type |
protected Object |
value |
| Constructor and Description |
|---|
AMF0Body(String target,
String response,
Object value)
AMF body with unknown type
|
AMF0Body(String target,
String response,
Object value,
byte type)
AMF Body constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBodyIndex() |
static String |
getObjectTypeDescription(byte type)
Returns String description of object type
|
String |
getResponse() |
String |
getServiceMethodName() |
String |
getServiceName() |
String |
getTarget() |
byte |
getType()
Returns object type
|
Object |
getValue() |
boolean |
isFirstBody() |
void |
setResponse(String response) |
void |
setTarget(String target) |
void |
setType(byte type)
Sets object type
|
void |
setValue(Object value) |
String |
toString() |
String |
toString(String indent) |
protected String serviceName
protected String serviceMethodName
protected byte type
public static final byte DATA_TYPE_UNKNOWN
public static final byte DATA_TYPE_NUMBER
public static final byte DATA_TYPE_BOOLEAN
public static final byte DATA_TYPE_STRING
public static final byte DATA_TYPE_OBJECT
public static final byte DATA_TYPE_MOVIE_CLIP
public static final byte DATA_TYPE_NULL
public static final byte DATA_TYPE_UNDEFINED
public static final byte DATA_TYPE_REFERENCE_OBJECT
public static final byte DATA_TYPE_MIXED_ARRAY
public static final byte DATA_TYPE_OBJECT_END
public static final byte DATA_TYPE_ARRAY
public static final byte DATA_TYPE_DATE
public static final byte DATA_TYPE_LONG_STRING
public static final byte DATA_TYPE_AS_OBJECT
public static final byte DATA_TYPE_RECORDSET
public static final byte DATA_TYPE_XML
public static final byte DATA_TYPE_CUSTOM_CLASS
public static final byte DATA_TYPE_AMF3_OBJECT
public AMF0Body(String target, String response, Object value)
target - response - value - public String getServiceName()
public String getServiceMethodName()
public String getResponse()
public void setResponse(String response)
public boolean isFirstBody()
public int getBodyIndex()
public byte getType()
public void setType(byte type)
type - public static String getObjectTypeDescription(byte type)
type - object type