public class MapDeserializer extends AbstractMapDeserializer
| 构造器和说明 |
|---|
MapDeserializer(Class type) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
eg: Map
|
Object |
readObject(AbstractHessianInput in,
String[] fieldNames) |
readObjectreadLengthList, readLengthList, readList, readListpublic MapDeserializer(Class type)
public Class getType()
getType 在接口中 DeserializergetType 在类中 AbstractMapDeserializerpublic Object readMap(AbstractHessianInput in) throws IOException
readMap 在接口中 DeserializerreadMap 在类中 AbstractDeserializerIOExceptionpublic Object readMap(AbstractHessianInput in, Class<?> expectKeyType, Class<?> expectValueType) throws IOException
eg: Map
readMap 在接口中 DeserializerreadMap 在类中 AbstractDeserializerIOExceptionpublic Object readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
readObject 在接口中 DeserializerreadObject 在类中 AbstractDeserializerIOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.