public class Spring4DefaultDeserializer extends Object implements org.springframework.core.serializer.Deserializer<Object>
Deserializer implementation that reads an input stream
using Java serialization.ObjectInputStream| Constructor and Description |
|---|
Spring4DefaultDeserializer()
Create a
DefaultDeserializer with default ObjectInputStream
configuration, using the "latest user-defined ClassLoader". |
Spring4DefaultDeserializer(ClassLoader classLoader)
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(InputStream inputStream)
Read from the supplied
InputStream and deserialize the contents
into an object. |
public Spring4DefaultDeserializer()
DefaultDeserializer with default ObjectInputStream
configuration, using the "latest user-defined ClassLoader".public Spring4DefaultDeserializer(ClassLoader classLoader)
ConfigurableObjectInputStream.ConfigurableObjectInputStream(InputStream, ClassLoader)public Object deserialize(InputStream inputStream) throws IOException
InputStream and deserialize the contents
into an object.deserialize in interface org.springframework.core.serializer.Deserializer<Object>IOExceptionObjectInputStream.readObject()Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.