public interface DeserializationContext
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectResolver(DeserializationObjectResolver resolver)
Add an object resolver local to this context only.
|
java.io.ObjectInputStream |
createObjectInputStream(java.io.InputStream input,
java.lang.ClassLoader classLoader)
Create a stream for deserializing objects using this context.
|
void addObjectResolver(DeserializationObjectResolver resolver)
resolver - the resolver to addjava.io.ObjectInputStream createObjectInputStream(java.io.InputStream input,
java.lang.ClassLoader classLoader)
throws java.io.IOException
input - the input stream containing serialized object dataclassLoader - the class loader for resolving classesjava.io.IOException - if the ObjectInputStream constructor throws
an exception