public class MapDeserializer extends AbstractMapDeserializer
NULL| 构造器和说明 |
|---|
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,
Object[] fields)
Reads an object instance from the input stream
|
readObjectcreateField, createFields, isReadResolve, readLengthList, readLengthList, readList, readList, readObjectpublic 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, Object[] fields) throws IOException
AbstractDeserializerreadObject 在接口中 DeserializerreadObject 在类中 AbstractDeserializerin - the input streamfields - the deserializer's own field marshalIOExceptionCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.