public interface MultiTypeCodec<T>
extends org.springframework.core.serializer.Serializer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] bytes,
java.lang.Class<? extends T> type)
Deserialize an object of a given type
|
T |
deserialize(java.io.InputStream inputStream,
java.lang.Class<? extends T> type)
Deserialize an object of a given type
|
T deserialize(java.io.InputStream inputStream, java.lang.Class<? extends T> type) throws java.io.IOException
inputStream - the input stream containing the serialized objecttype - the object's classjava.io.IOException