JsonInstanceSerializerpublic interface InstanceSerializer<T>
| Modifier and Type | Method | Description |
|---|---|---|
ServiceInstance<T> |
deserialize(byte[] bytes) |
Deserialize a byte array into an instance
|
byte[] |
serialize(ServiceInstance<T> instance) |
Serialize an instance into bytes
|
byte[] serialize(ServiceInstance<T> instance) throws java.lang.Exception
instance - the instancejava.lang.Exception - any errorsServiceInstance<T> deserialize(byte[] bytes) throws java.lang.Exception
bytes - the bytesjava.lang.Exception - any errorsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.