Package com.caucho.hessian.io
Class BasicDeserializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractDeserializer
-
- com.caucho.hessian.io.BasicDeserializer
-
- All Implemented Interfaces:
Deserializer
public class BasicDeserializer extends AbstractDeserializer
Serializing an object for known object types.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BOOLEAN
static int
BOOLEAN_ARRAY
static int
BYTE
static int
BYTE_ARRAY
static int
CHARACTER
static int
CHARACTER_ARRAY
static int
CHARACTER_OBJECT
static int
DATE
static int
DOUBLE
static int
DOUBLE_ARRAY
static int
FLOAT
static int
FLOAT_ARRAY
static int
INTEGER
static int
INTEGER_ARRAY
static int
LONG
static int
LONG_ARRAY
static int
NULL
static int
NUMBER
static int
OBJECT
static int
OBJECT_ARRAY
static int
SHORT
static int
SHORT_ARRAY
static int
STRING
static int
STRING_ARRAY
-
Constructor Summary
Constructors Constructor Description BasicDeserializer(int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getType()
java.lang.Object
readLengthList(AbstractHessianInput in, int length)
java.lang.Object
readList(AbstractHessianInput in, int length)
java.lang.Object
readObject(AbstractHessianInput in)
-
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, isReadResolve, readMap, readObject, readObject
-
-
-
-
Field Detail
-
NULL
public static final int NULL
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
-
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
-
SHORT
public static final int SHORT
- See Also:
- Constant Field Values
-
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
-
LONG
public static final int LONG
- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
-
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
-
CHARACTER
public static final int CHARACTER
- See Also:
- Constant Field Values
-
CHARACTER_OBJECT
public static final int CHARACTER_OBJECT
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
DATE
public static final int DATE
- See Also:
- Constant Field Values
-
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
-
OBJECT
public static final int OBJECT
- See Also:
- Constant Field Values
-
BOOLEAN_ARRAY
public static final int BOOLEAN_ARRAY
- See Also:
- Constant Field Values
-
BYTE_ARRAY
public static final int BYTE_ARRAY
- See Also:
- Constant Field Values
-
SHORT_ARRAY
public static final int SHORT_ARRAY
- See Also:
- Constant Field Values
-
INTEGER_ARRAY
public static final int INTEGER_ARRAY
- See Also:
- Constant Field Values
-
LONG_ARRAY
public static final int LONG_ARRAY
- See Also:
- Constant Field Values
-
FLOAT_ARRAY
public static final int FLOAT_ARRAY
- See Also:
- Constant Field Values
-
DOUBLE_ARRAY
public static final int DOUBLE_ARRAY
- See Also:
- Constant Field Values
-
CHARACTER_ARRAY
public static final int CHARACTER_ARRAY
- See Also:
- Constant Field Values
-
STRING_ARRAY
public static final int STRING_ARRAY
- See Also:
- Constant Field Values
-
OBJECT_ARRAY
public static final int OBJECT_ARRAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public java.lang.Class getType()
- Specified by:
getType
in interfaceDeserializer
- Overrides:
getType
in classAbstractDeserializer
-
readObject
public java.lang.Object readObject(AbstractHessianInput in) throws java.io.IOException
- Specified by:
readObject
in interfaceDeserializer
- Overrides:
readObject
in classAbstractDeserializer
- Throws:
java.io.IOException
-
readList
public java.lang.Object readList(AbstractHessianInput in, int length) throws java.io.IOException
- Specified by:
readList
in interfaceDeserializer
- Overrides:
readList
in classAbstractDeserializer
- Throws:
java.io.IOException
-
readLengthList
public java.lang.Object readLengthList(AbstractHessianInput in, int length) throws java.io.IOException
- Specified by:
readLengthList
in interfaceDeserializer
- Overrides:
readLengthList
in classAbstractDeserializer
- Throws:
java.io.IOException
-
-