CodebaseAwareObjectInputStream(in: InputStream, codebaseUrl: String)
Create a new CodebaseAwareObjectInputStream for the given InputStream and codebase.
in
- the InputStream to read from
codebaseUrl
- the codebase URL to load classes from if not found locally (can consist of multiple URLs, separated by spaces)
See Also
java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)
CodebaseAwareObjectInputStream(in: InputStream, @Nullable classLoader: ClassLoader, codebaseUrl: String)
Create a new CodebaseAwareObjectInputStream for the given InputStream and codebase.
in
- the InputStream to read from
classLoader
- the ClassLoader to use for loading local classes (may be null
to indicate RMI's default ClassLoader)
codebaseUrl
- the codebase URL to load classes from if not found locally (can consist of multiple URLs, separated by spaces)
See Also
java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)
CodebaseAwareObjectInputStream(in: InputStream, @Nullable classLoader: ClassLoader, acceptProxyClasses: Boolean)
Create a new CodebaseAwareObjectInputStream for the given InputStream and codebase.
in
- the InputStream to read from
classLoader
- the ClassLoader to use for loading local classes (may be null
to indicate RMI's default ClassLoader)
acceptProxyClasses
- whether to accept deserialization of proxy classes (may be deactivated as a security measure)
See Also
java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)