Package com.caucho.hessian.io
Class AbstractStreamDeserializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractDeserializer
-
- com.caucho.hessian.io.AbstractStreamDeserializer
-
- All Implemented Interfaces:
Deserializer
public abstract class AbstractStreamDeserializer extends AbstractDeserializer
Deserializing a byte stream
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractDeserializer
NULL
-
-
Constructor Summary
Constructors Constructor Description AbstractStreamDeserializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Class<?>getType()ObjectreadMap(AbstractHessianInput in)Reads the Hessian 1.0 style map.ObjectreadObject(AbstractHessianInput in, Object[] fields)Reads an object instance from the input streamprotected abstract ObjectreadStreamValue(AbstractHessianInput in)-
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, isReadResolve, readLengthList, readList, readObject, readObject
-
-
-
-
Method Detail
-
getType
public abstract Class<?> getType()
- Specified by:
getTypein interfaceDeserializer- Overrides:
getTypein classAbstractDeserializer
-
readMap
public Object readMap(AbstractHessianInput in) throws IOException
Reads the Hessian 1.0 style map.- Specified by:
readMapin interfaceDeserializer- Overrides:
readMapin classAbstractDeserializer- Throws:
IOException
-
readObject
public Object readObject(AbstractHessianInput in, Object[] fields) throws IOException
Description copied from class:AbstractDeserializerReads an object instance from the input stream- Specified by:
readObjectin interfaceDeserializer- Overrides:
readObjectin classAbstractDeserializer- Parameters:
in- the input streamfields- the deserializer's own field marshal- Returns:
- the new object
- Throws:
IOException
-
readStreamValue
protected abstract Object readStreamValue(AbstractHessianInput in) throws IOException
- Throws:
IOException
-
-