Class TokenProviderTypeIdResolver

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

    public class TokenProviderTypeIdResolver
    extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
    • Field Summary

      • Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

        _baseType, _typeFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()  
      java.lang.String idFromValue​(java.lang.Object obj)  
      java.lang.String idFromValueAndType​(java.lang.Object obj, java.lang.Class<?> subType)  
      void init​(com.fasterxml.jackson.databind.JavaType baseType)  
      com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context, java.lang.String id)  
      • Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

        getDescForKnownTypeIds, idFromBaseType
      • Methods inherited from class java.lang.Object

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

      • TokenProviderTypeIdResolver

        public TokenProviderTypeIdResolver()
    • Method Detail

      • init

        public void init​(com.fasterxml.jackson.databind.JavaType baseType)
        Specified by:
        init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
        Overrides:
        init in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
      • getMechanism

        public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
      • idFromValue

        public java.lang.String idFromValue​(java.lang.Object obj)
      • idFromValueAndType

        public java.lang.String idFromValueAndType​(java.lang.Object obj,
                                                   java.lang.Class<?> subType)
      • typeFromId

        public com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context,
                                                                  java.lang.String id)
        Specified by:
        typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
        Overrides:
        typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase