| java.lang.Object | |||
| ↳ | java.io.InputStream | ||
| ↳ | java.io.ObjectInputStream | ||
| ↳ | org.springframework.core.ConfigurableObjectInputStream | ||
Known Direct Subclasses
|
Special ObjectInputStream subclass that resolves class names
against a specific ClassLoader. Serves as base class for
CodebaseAwareObjectInputStream.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.io.ObjectStreamConstants
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.io.ObjectStreamConstants
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the fallback ClassLoader to use when no ClassLoader was specified
and ObjectInputStream's own default ClassLoader failed.
| |||||||||||
Resolve the given class name against a fallback class loader.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.ObjectInputStream
| |||||||||||
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.io.DataInput
| |||||||||||
From interface
java.io.ObjectInput
| |||||||||||
Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.
| in | the InputStream to read from |
|---|---|
| classLoader | the ClassLoader to use for loading local classes |
| IOException |
|---|
Return the fallback ClassLoader to use when no ClassLoader was specified and ObjectInputStream's own default ClassLoader failed.
The default implementation simply returns null.
| IOException |
|---|
Resolve the given class name against a fallback class loader.
The default implementation simply rethrows the original exception, since there is no fallback available.
| className | the class name to resolve |
|---|---|
| ex | the original exception thrown when attempting to load the class |
null)