Package com.hazelcast.nio.serialization
Interface ClassNameFilter
public interface ClassNameFilter
Allows to intercept class resolution during deserialization based on classname. It's used as a validation mechanism in
Look-ahead ObjectInputStream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
filter
Called fromObjectInputStream.resolveClass(java.io.ObjectStreamClass)
. When the deserialization should not be allowed the method throws aRuntimeException
.- Parameters:
className
- name of class to be deserialized
-