类 JavaSerializer
- java.lang.Object
-
- com.alibaba.com.caucho.hessian.io.AbstractSerializer
-
- com.alibaba.com.caucho.hessian.io.JavaSerializer
-
- 所有已实现的接口:
Serializer
- 直接已知子类:
ThrowableSerializer
public class JavaSerializer extends AbstractSerializer
Serializing an object for known object types.
-
-
构造器概要
构造器 构造器 说明 JavaSerializer(Class cl, ClassLoader loader)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
writeInstance(Object obj, AbstractHessianOutput out)
void
writeObject(Object obj, AbstractHessianOutput out)
-
-
-
构造器详细资料
-
JavaSerializer
public JavaSerializer(Class cl, ClassLoader loader)
-
-
方法详细资料
-
writeObject
public void writeObject(Object obj, AbstractHessianOutput out) throws IOException
- 指定者:
writeObject
在接口中Serializer
- 指定者:
writeObject
在类中AbstractSerializer
- 抛出:
IOException
-
writeInstance
public void writeInstance(Object obj, AbstractHessianOutput out) throws IOException
- 抛出:
IOException
-
-