All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.netty.protocol.dubbo.serialization.SerializeCheckStatus Maven / Gradle / Ivy

package com.github.netty.protocol.dubbo.serialization;

public enum SerializeCheckStatus {
    /**
     * Disable serialize check for all classes
     */
    DISABLE(0),

    /**
     * Only deny danger classes, warn if other classes are not in allow list
     */
    WARN(1),

    /**
     * Only allow classes in allow list, deny if other classes are not in allow list
     */
    STRICT(2);

    private final int level;

    SerializeCheckStatus(int level) {
        this.level = level;
    }

    public int level() {
        return level;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy