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