Class SecureTypeResolverBuilder

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder>, Serializable

    public class SecureTypeResolverBuilder
    extends com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder
    Builder that can produce SecureTypeIdResolver from an existing TypeIdResolver.
    Since:
    9.3
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder

        _appliesFor, _subtypeValidator
      • Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder

        _customIdResolver, _defaultImpl, _idType, _includeAs, _typeIdVisible, _typeProperty
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SecureTypeResolverBuilder​(com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping defaultTyping, ClassWhiteList whiteList)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.fasterxml.jackson.databind.jsontype.TypeIdResolver idResolver​(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, com.fasterxml.jackson.databind.JavaType baseType, com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator, Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes, boolean forSer, boolean forDeser)  
      • Methods inherited from class com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder

        buildTypeDeserializer, buildTypeSerializer, construct, subTypeValidator, useForType
      • Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder

        defaultImpl, defineDefaultImpl, getDefaultImpl, getTypeProperty, inclusion, init, isTypeIdVisible, noTypeInfoBuilder, reportInvalidBaseType, typeIdVisibility, typeProperty, verifyBaseTypeValidity
    • Constructor Detail

      • SecureTypeResolverBuilder

        protected SecureTypeResolverBuilder​(com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping defaultTyping,
                                            ClassWhiteList whiteList)
    • Method Detail

      • idResolver

        protected com.fasterxml.jackson.databind.jsontype.TypeIdResolver idResolver​(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
                                                                                    com.fasterxml.jackson.databind.JavaType baseType,
                                                                                    com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator,
                                                                                    Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes,
                                                                                    boolean forSer,
                                                                                    boolean forDeser)
        Overrides:
        idResolver in class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder