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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanDeserializer
public BeanDeserializer(Class cl)
getType
public Class getType()
- Specified by:
getType in interface Deserializer- Overrides:
getType in class AbstractMapDeserializer
readMap
public Object readMap(AbstractHessianInput in)
throws IOException
- Specified by:
readMap in interface Deserializer- Overrides:
readMap in class AbstractDeserializer
- Throws:
IOException
readMap
public Object readMap(AbstractHessianInput in,
Object obj)
throws IOException
- Throws:
IOException
instantiate
protected Object instantiate()
throws Exception
- Throws:
Exception
getReadResolve
protected Method getReadResolve(Class cl)
- Returns the readResolve method
getMethodMap
protected HashMap getMethodMap(Class cl)
- Creates a map of the classes fields.
getParamArg
protected static Object getParamArg(Class cl)
- Creates a map of the classes fields.
Copyright © 2013. All Rights Reserved.