Package org.infinispan.commons.marshall
Class CheckedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.ObjectInputStream
-
- org.infinispan.commons.marshall.CheckedInputStream
-
- All Implemented Interfaces:
Closeable
,DataInput
,ObjectInput
,ObjectStreamConstants
,AutoCloseable
public class CheckedInputStream extends ObjectInputStream
-
-
Constructor Summary
Constructors Constructor Description CheckedInputStream(InputStream in, ClassWhiteList whitelist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>
resolveClass(ObjectStreamClass desc)
-
-
-
Constructor Detail
-
CheckedInputStream
public CheckedInputStream(InputStream in, ClassWhiteList whitelist) throws IOException
- Throws:
IOException
-
-
Method Detail
-
resolveClass
protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-