public class SubTypeValidator
extends java.lang.Object
BeanDeserializerFacotry
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
_cfgIllegalClassNames
Set of class names of types that are never to be deserialized.
|
protected static java.util.Set<java.lang.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.
|
private static SubTypeValidator |
instance |
protected static java.lang.String |
PREFIX_STRING |
Modifier | Constructor and Description |
---|---|
protected |
SubTypeValidator() |
Modifier and Type | Method and Description |
---|---|
static SubTypeValidator |
instance() |
void |
validateSubType(DeserializationContext ctxt,
JavaType type) |
protected static final java.lang.String PREFIX_STRING
protected static final java.util.Set<java.lang.String> DEFAULT_NO_DESER_CLASS_NAMES
protected java.util.Set<java.lang.String> _cfgIllegalClassNames
private static final SubTypeValidator instance
public static SubTypeValidator instance()
public void validateSubType(DeserializationContext ctxt, JavaType type) throws JsonMappingException
JsonMappingException