public class GenericProtobufSerialization extends Object implements Serialization
| Constructor and Description |
|---|
GenericProtobufSerialization() |
| 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)
serialize in interface Serializationpublic ObjectInput deserialize(org.apache.dubbo.common.URL url, InputStream input)
deserialize in interface SerializationCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.