Class SecureTypeIdResolver
- java.lang.Object
-
- org.infinispan.server.core.dataconversion.json.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 Summary
Fields Modifier and Type Field Description protected static org.infinispan.util.logging.Log
logger
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDescForKnownTypeIds()
Deprecated.com.fasterxml.jackson.annotation.JsonTypeInfo.Id
getMechanism()
Deprecated.String
idFromBaseType()
Deprecated.String
idFromValue(Object value)
Deprecated.String
idFromValueAndType(Object value, Class<?> suggestedType)
Deprecated.void
init(com.fasterxml.jackson.databind.JavaType baseType)
Deprecated.com.fasterxml.jackson.databind.JavaType
typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext, String id)
Deprecated.
-
-
-
Method Detail
-
init
public void init(com.fasterxml.jackson.databind.JavaType baseType)
Deprecated.- Specified by:
init
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValue
public String idFromValue(Object value)
Deprecated.- Specified by:
idFromValue
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValueAndType
public String idFromValueAndType(Object value, Class<?> suggestedType)
Deprecated.- Specified by:
idFromValueAndType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromBaseType
public String idFromBaseType()
Deprecated.- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getDescForKnownTypeIds
public String getDescForKnownTypeIds()
Deprecated.- Specified by:
getDescForKnownTypeIds
in interfacecom.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 interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Throws:
IOException
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
Deprecated.- Specified by:
getMechanism
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
-