public class MapDeserializer extends AbstractMapDeserializer
| Constructor and Description |
|---|
MapDeserializer(Class type) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getType() |
Object |
readMap(AbstractHessianInput in) |
Object |
readMap(AbstractHessianInput in,
Class<?> expectKeyType,
Class<?> expectValueType)
support generic type of map, fix the type of short serialization
|
Object |
readObject(AbstractHessianInput in,
String[] fieldNames) |
readObjectreadLengthList, readLengthList, readList, readListpublic MapDeserializer(Class type)
public Class getType()
getType in interface DeserializergetType in class AbstractMapDeserializerpublic Object readMap(AbstractHessianInput in) throws IOException
readMap in interface DeserializerreadMap in class AbstractDeserializerIOExceptionpublic Object readMap(AbstractHessianInput in, Class<?> expectKeyType, Class<?> expectValueType) throws IOException
eg: Map
readMap in interface DeserializerreadMap in class AbstractDeserializerIOExceptionpublic Object readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
readObject in interface DeserializerreadObject in class AbstractDeserializerIOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.