com.hazelcast.nio

## Interface ClassNameFilter

- All Known Implementing Classes:
    SerializationClassNameFilter

      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `filter(String className)` Called from `ObjectInputStream.resolveClass(java.io.ObjectStreamClass)`.

- - ### Method Detail

    - #### filter

          void filter(String className)

      Called from `ObjectInputStream.resolveClass(java.io.ObjectStreamClass)`. When the deserialization should not be allowed the method throws a `RuntimeException`.
      Parameters:
        `className` - name of class to be deserialized

Copyright © 2020. All rights reserved.