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 intBOOLEANstatic intBOOLEAN_ARRAYstatic intBYTEstatic intBYTE_ARRAYstatic intCHARACTERstatic intCHARACTER_ARRAYstatic intCHARACTER_OBJECTstatic intDATEstatic intDOUBLEstatic intDOUBLE_ARRAYstatic intFLOATstatic intFLOAT_ARRAYstatic intINTEGERstatic intINTEGER_ARRAYstatic intLONGstatic intLONG_ARRAYstatic intNULLstatic intNUMBERstatic intOBJECTstatic intOBJECT_ARRAYstatic intSHORTstatic intSHORT_ARRAYstatic intSTRINGstatic intSTRING_ARRAY
-
Constructor Summary
Constructors Constructor Description BasicDeserializer(int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassgetType()ObjectreadLengthList(AbstractHessianInput in, int length)ObjectreadList(AbstractHessianInput in, int length)ObjectreadObject(AbstractHessianInput in)StringtoString()-
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 Class getType()
- Specified by:
getTypein interfaceDeserializer- Overrides:
getTypein classAbstractDeserializer
-
readObject
public Object readObject(AbstractHessianInput in) throws IOException
- Specified by:
readObjectin interfaceDeserializer- Overrides:
readObjectin classAbstractDeserializer- Throws:
IOException
-
readList
public Object readList(AbstractHessianInput in, int length) throws IOException
- Specified by:
readListin interfaceDeserializer- Overrides:
readListin classAbstractDeserializer- Throws:
IOException
-
readLengthList
public Object readLengthList(AbstractHessianInput in, int length) throws IOException
- Specified by:
readLengthListin interfaceDeserializer- Overrides:
readLengthListin classAbstractDeserializer- Throws:
IOException
-
-