Class SecureTypeIdResolver

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsontype.TypeIdResolver

    @Deprecated
    public class SecureTypeIdResolver
    extends Object
    implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    Deprecated.
    JSON to POJO conversion is deprecated and will be removed in a future version.
    Jackson TypeIdResolver that checks the serialization allow list before deserializing JSON types.
    Since:
    9.3
    • Field Detail

      • logger

        protected static final org.infinispan.util.logging.Log logger
        Deprecated.
    • Method Detail

      • init

        public void init​(com.fasterxml.jackson.databind.JavaType baseType)
        Deprecated.
        Specified by:
        init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromValue

        public String idFromValue​(Object value)
        Deprecated.
        Specified by:
        idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromValueAndType

        public String idFromValueAndType​(Object value,
                                         Class<?> suggestedType)
        Deprecated.
        Specified by:
        idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromBaseType

        public String idFromBaseType()
        Deprecated.
        Specified by:
        idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • getDescForKnownTypeIds

        public String getDescForKnownTypeIds()
        Deprecated.
        Specified by:
        getDescForKnownTypeIds in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • typeFromId

        public com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext databindContext,
                                                                  String id)
                                                           throws IOException
        Deprecated.
        Specified by:
        typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
        Throws:
        IOException
      • getMechanism

        public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
        Deprecated.
        Specified by:
        getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver