public interface Deserializer
| 限定符和类型 | 方法和说明 |
|---|---|
Class |
getType() |
Object |
readLengthList(AbstractHessianInput in,
int length) |
Object |
readLengthList(AbstractHessianInput in,
int length,
Class<?> expectType)
deserialize list object from expect type.
|
Object |
readList(AbstractHessianInput in,
int length) |
Object |
readList(AbstractHessianInput in,
int length,
Class<?> expectType)
deserialize list object from expect type.
|
Object |
readMap(AbstractHessianInput in) |
Object |
readMap(AbstractHessianInput in,
Class<?> expectKeyType,
Class<?> expectValueType)
deserialize map object from expect key and value type.
|
Object |
readObject(AbstractHessianInput in) |
Object |
readObject(AbstractHessianInput in,
String[] fieldNames) |
Class getType()
Object readObject(AbstractHessianInput in) throws IOException
IOExceptionObject readList(AbstractHessianInput in, int length) throws IOException
IOExceptionObject readList(AbstractHessianInput in, int length, Class<?> expectType) throws IOException
in - length - expectType - IOExceptionObject readLengthList(AbstractHessianInput in, int length) throws IOException
IOExceptionObject readLengthList(AbstractHessianInput in, int length, Class<?> expectType) throws IOException
in - length - expectType - IOExceptionObject readMap(AbstractHessianInput in) throws IOException
IOExceptionObject readMap(AbstractHessianInput in, Class<?> expectKeyType, Class<?> expectValueType) throws IOException
in - expectKeyType - expectValueType - IOExceptionObject readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
IOExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.