@SPI(value="hessian2") public interface Serialization
| Modifier and Type | Method and Description |
|---|---|
ObjectInput |
deserialize(URL url,
InputStream input)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(URL url,
OutputStream output)
create serializer
|
byte getContentTypeId()
String getContentType()
@Adaptive ObjectOutput serialize(URL url, OutputStream output) throws IOException
url - output - IOException@Adaptive ObjectInput deserialize(URL url, InputStream input) throws IOException
url - input - IOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.