类 JavaSerialization
- java.lang.Object
-
- org.apache.dubbo.common.serialize.java.JavaSerialization
-
- 所有已实现的接口:
Serialization
public class JavaSerialization extends Object implements Serialization
Java serialization implementatione.g. <dubbo:protocol serialization="java" />
-
-
构造器概要
构造器 构造器 说明 JavaSerialization()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ObjectInput
deserialize(org.apache.dubbo.common.URL url, InputStream is)
String
getContentType()
byte
getContentTypeId()
ObjectOutput
serialize(org.apache.dubbo.common.URL url, OutputStream out)
-
-
-
方法详细资料
-
getContentTypeId
public byte getContentTypeId()
- 指定者:
getContentTypeId
在接口中Serialization
-
getContentType
public String getContentType()
- 指定者:
getContentType
在接口中Serialization
-
serialize
public ObjectOutput serialize(org.apache.dubbo.common.URL url, OutputStream out) throws IOException
- 指定者:
serialize
在接口中Serialization
- 抛出:
IOException
-
deserialize
public ObjectInput deserialize(org.apache.dubbo.common.URL url, InputStream is) throws IOException
- 指定者:
deserialize
在接口中Serialization
- 抛出:
IOException
-
-