com.alipay.hessian.generic.io
Class GenericClassDeserializer

java.lang.Object
  extended by com.caucho.hessian.io.AbstractDeserializer
      extended by com.alipay.hessian.generic.io.GenericClassDeserializer
All Implemented Interfaces:
com.caucho.hessian.io.Deserializer

public class GenericClassDeserializer
extends com.caucho.hessian.io.AbstractDeserializer

Since:
5.3.0

Method Summary
static GenericClassDeserializer getInstance()
           
 Object readObject(com.caucho.hessian.io.AbstractHessianInput in, String[] fieldNames)
          当读取Object时会调用此方法, Object类型包括Enum与AliEnum
 
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, error, getType, readLengthList, readList, readMap, readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GenericClassDeserializer getInstance()

readObject

public Object readObject(com.caucho.hessian.io.AbstractHessianInput in,
                         String[] fieldNames)
                  throws IOException
当读取Object时会调用此方法, Object类型包括Enum与AliEnum

Specified by:
readObject in interface com.caucho.hessian.io.Deserializer
Overrides:
readObject in class com.caucho.hessian.io.AbstractDeserializer
Throws:
IOException


Copyright © 2008–2018 Ant Financial. All rights reserved.