public class SubTypeValidator extends Object
BeanDeserializerFactory
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
_cfgIllegalClassNames
Set of class names of types that are never to be deserialized.
|
protected static Set<String> |
DEFAULT_NO_DESER_CLASS_NAMES
Set of well-known "nasty classes", deserialization of which is considered dangerous
and should (and is) prevented by default.
|
protected static String |
PREFIX_STRING |
Modifier | Constructor and Description |
---|---|
protected |
SubTypeValidator() |
protected static final String PREFIX_STRING
protected static final Set<String> DEFAULT_NO_DESER_CLASS_NAMES
public static SubTypeValidator instance()
public void validateSubType(JavaType type) throws JsonMappingException
JsonMappingException