Class SecureTypeIdResolver

java.lang.Object
org.infinispan.server.core.dataconversion.json.SecureTypeIdResolver
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver

@Deprecated(forRemoval=true) public class SecureTypeIdResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
Deprecated, for removal: This API element is subject to removal in a future version.
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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.infinispan.util.logging.Log
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.fasterxml.jackson.annotation.JsonTypeInfo.Id
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    idFromValueAndType(Object value, Class<?> suggestedType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    init(com.fasterxml.jackson.databind.JavaType baseType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.fasterxml.jackson.databind.JavaType
    typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext, String id)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

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

    • logger

      protected static final org.infinispan.util.logging.Log logger
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • init

      public void init(com.fasterxml.jackson.databind.JavaType baseType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    • idFromValue

      public String idFromValue(Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    • idFromValueAndType

      public String idFromValueAndType(Object value, Class<?> suggestedType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    • idFromBaseType

      public String idFromBaseType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    • getDescForKnownTypeIds

      public String getDescForKnownTypeIds()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Specified by:
      typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      Throws:
      IOException
    • getMechanism

      public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver