Class ReflectiveValidatorIndex

java.lang.Object
io.envoyproxy.pgv.ReflectiveValidatorIndex
All Implemented Interfaces:
ValidatorIndex

public final class ReflectiveValidatorIndex
extends Object
implements ValidatorIndex
ReflectiveValidatorIndex uses reflection to discover Validator implementations lazily the first time a type is validated. If no validator can be found for type, a fallback validator will be used (default ALWAYS_VALID).