Package com.caucho.hessian.io
Class BeanDeserializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractDeserializer
-
- com.caucho.hessian.io.AbstractMapDeserializer
-
- com.caucho.hessian.io.BeanDeserializer
-
- All Implemented Interfaces:
Deserializer
public class BeanDeserializer extends AbstractMapDeserializer
Serializing an object for known object types.
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractDeserializer
NULL
-
-
Constructor Summary
Constructors Constructor Description BeanDeserializer(Class cl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HashMapgetMethodMap(Class cl)Creates a map of the classes fields.protected static ObjectgetParamArg(Class cl)Creates a map of the classes fields.protected MethodgetReadResolve(Class cl)Returns the readResolve methodClassgetType()protected Objectinstantiate()ObjectreadMap(AbstractHessianInput in)ObjectreadMap(AbstractHessianInput in, Object obj)-
Methods inherited from class com.caucho.hessian.io.AbstractMapDeserializer
readObject
-
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, isReadResolve, readLengthList, readList, readObject, readObject
-
-
-
-
Constructor Detail
-
BeanDeserializer
public BeanDeserializer(Class cl)
-
-
Method Detail
-
getType
public Class getType()
- Specified by:
getTypein interfaceDeserializer- Overrides:
getTypein classAbstractMapDeserializer
-
readMap
public Object readMap(AbstractHessianInput in) throws IOException
- Specified by:
readMapin interfaceDeserializer- Overrides:
readMapin classAbstractDeserializer- Throws:
IOException
-
readMap
public Object readMap(AbstractHessianInput in, Object obj) throws IOException
- Throws:
IOException
-
-