Class SubTypeValidator
java.lang.Object
com.fasterxml.jackson.databind.jsontype.impl.SubTypeValidator
Helper class used to encapsulate rules that determine subtypes that
are invalid to use, even with default typing, mostly due to security
concerns.
Used by
BeanDeserializerFactory- Since:
- 2.8.11
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubTypeValidatorinstance()voidvalidateSubType(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc)
-
Method Details
-
instance
-
validateSubType
public void validateSubType(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) throws JsonMappingException - Throws:
JsonMappingException
-