Class AllowListPolymorphicTypeValidatorBuilder

java.lang.Object
tools.jackson.databind.jsontype.BasicPolymorphicTypeValidator.Builder
dev.resteasy.providers.jackson.AllowListPolymorphicTypeValidatorBuilder

public class AllowListPolymorphicTypeValidatorBuilder extends tools.jackson.databind.jsontype.BasicPolymorphicTypeValidator.Builder
A BasicPolymorphicTypeValidator.Builder that populates allowed base types and subtypes from configuration properties. Applied as the default validator when no custom PolymorphicTypeValidator is configured.

Supported properties (comma-separated, * for wildcard):

  • dev.resteasy.jackson.deserialization.allowlist.allowIfBaseType
  • dev.resteasy.jackson.deserialization.allowlist.allowIfSubType
Author:
James R. Perkins
  • Field Summary

    Fields inherited from class tools.jackson.databind.jsontype.BasicPolymorphicTypeValidator.Builder

    _acceptArrayTypes, _baseTypeMatchers, _invalidBaseTypes, _subTypeClassMatchers, _subTypeNameMatchers
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class tools.jackson.databind.jsontype.BasicPolymorphicTypeValidator.Builder

    _appendBaseMatcher, _appendSubClassMatcher, _appendSubNameMatcher, allowIfBaseType, allowIfBaseType, allowIfBaseType, allowIfBaseType, allowIfSubType, allowIfSubType, allowIfSubType, allowIfSubType, allowIfSubTypeIsArray, allowSubTypesWithExplicitDeserializer, build, denyForExactBaseType

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AllowListPolymorphicTypeValidatorBuilder

      public AllowListPolymorphicTypeValidatorBuilder()
  • Method Details