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