Class BroadleafScopedMissingInstantiatorHandler

java.lang.Object
com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
com.broadleafcommerce.common.extension.mapping.BroadleafScopedMissingInstantiatorHandler

@Deprecated(since="Common Extension 2.0.7", forRemoval=true) public class BroadleafScopedMissingInstantiatorHandler extends com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
Deprecated, for removal: This API element is subject to removal in a future version.
since Common Extension 2.0.7, as the impacted classes should be updated to adhere the stricter constructor detection as soon as possible
Broadleaf-specific implementation of MissingInstantiatorHandler, to ensure that the MissingInstantiatorHandler logic is only applied to package paths configured within BroadleafJacksonDeserializationProblemHandlerProperties.
Since:
Common Extension 2.0.7
Author:
Sunny Yu
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.deser.DeserializationProblemHandler

    NOT_HANDLED
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    handleMissingInstantiator(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> instClass, com.fasterxml.jackson.databind.deser.ValueInstantiator valueInsta, com.fasterxml.jackson.core.JsonParser p, String msg)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to MissingInstantiatorHandler only if the given class is in scope based on the configuration in BroadleafJacksonDeserializationProblemHandlerProperties.

    Methods inherited from class com.fasterxml.jackson.databind.deser.DeserializationProblemHandler

    handleInstantiationProblem, handleMissingInstantiator, handleMissingTypeId, handleUnexpectedToken, handleUnexpectedToken, handleUnknownProperty, handleUnknownTypeId, handleWeirdKey, handleWeirdNativeValue, handleWeirdNumberValue, handleWeirdStringValue

    Methods inherited from class java.lang.Object

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

  • Method Details

    • handleMissingInstantiator

      public Object handleMissingInstantiator(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> instClass, com.fasterxml.jackson.databind.deser.ValueInstantiator valueInsta, com.fasterxml.jackson.core.JsonParser p, String msg) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to MissingInstantiatorHandler only if the given class is in scope based on the configuration in BroadleafJacksonDeserializationProblemHandlerProperties. If it's not in scope, DeserializationProblemHandler.NOT_HANDLED is returned to let standard jackson errors to take over for 3rd party framework classes (e.g. Spring framework, java.lang, etc.)
      Overrides:
      handleMissingInstantiator in class com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
      Throws:
      IOException