public class NativeJavaSerialization extends Object implements Serialization
e.g. <dubbo:protocol serialization="nativejava" />
| Constructor and Description |
|---|
NativeJavaSerialization() |
| Modifier and Type | Method and Description |
|---|---|
ObjectInput |
deserialize(org.apache.dubbo.common.URL url,
InputStream input) |
String |
getContentType() |
byte |
getContentTypeId() |
ObjectOutput |
serialize(org.apache.dubbo.common.URL url,
OutputStream output) |
public byte getContentTypeId()
getContentTypeId in interface Serializationpublic String getContentType()
getContentType in interface Serializationpublic ObjectOutput serialize(org.apache.dubbo.common.URL url, OutputStream output) throws IOException
serialize in interface SerializationIOExceptionpublic ObjectInput deserialize(org.apache.dubbo.common.URL url, InputStream input) throws IOException
deserialize in interface SerializationIOExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.