public class SubTypeValidator extends Object
BeanDeserializerFacotry
Modifier and Type | Field | 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_C3P0 |
|
protected static String |
PREFIX_SPRING |
Modifier | Constructor | Description |
---|---|---|
protected |
SubTypeValidator() |
Modifier and Type | Method | Description |
---|---|---|
static SubTypeValidator |
instance() |
|
void |
validateSubType(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
protected static final String PREFIX_SPRING
protected static final String PREFIX_C3P0
protected static final Set<String> DEFAULT_NO_DESER_CLASS_NAMES
public static SubTypeValidator instance()
public void validateSubType(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) throws JsonMappingException
JsonMappingException
Copyright © 2008–2018. All rights reserved.