类 MapSerializer
- java.lang.Object
-
- com.alibaba.com.caucho.hessian.io.AbstractSerializer
-
- com.alibaba.com.caucho.hessian.io.MapSerializer
-
- 所有已实现的接口:
Serializer
public class MapSerializer extends AbstractSerializer
Serializing a JDK 1.2 java.util.Map.
-
-
构造器概要
构造器 构造器 说明 MapSerializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleangetSendJavaType()Return true if the java type of the collection should be sent.voidsetSendJavaType(boolean sendJavaType)Set true if the java type of the collection should be sent.voidwriteObject(Object obj, AbstractHessianOutput out)
-
-
-
方法详细资料
-
getSendJavaType
public boolean getSendJavaType()
Return true if the java type of the collection should be sent.
-
setSendJavaType
public void setSendJavaType(boolean sendJavaType)
Set true if the java type of the collection should be sent.
-
writeObject
public void writeObject(Object obj, AbstractHessianOutput out) throws IOException
- 指定者:
writeObject在接口中Serializer- 指定者:
writeObject在类中AbstractSerializer- 抛出:
IOException
-
-