Class GraphQLObjectMapper.GraphQLDeserializationProblemHandler

java.lang.Object
com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
com.graphql_java_generator.client.GraphQLObjectMapper.GraphQLDeserializationProblemHandler
Enclosing class:
GraphQLObjectMapper

public class GraphQLObjectMapper.GraphQLDeserializationProblemHandler extends com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
This class handles various deserialization problems. It's used to manage unknown properties coming in the response JSON. These unknown properties are alias defined in the GraphQL query.
Author:
etienne-sf
  • Field Summary

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

    NOT_HANDLED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handleUnknownProperty(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer, Object beanOrClass, String propertyName)
     

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

    handleInstantiationProblem, handleMissingInstantiator, handleMissingInstantiator, handleMissingTypeId, handleUnexpectedToken, handleUnexpectedToken, 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

    • GraphQLDeserializationProblemHandler

      public GraphQLDeserializationProblemHandler()
  • Method Details

    • handleUnknownProperty

      public boolean handleUnknownProperty(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer, Object beanOrClass, String propertyName) throws IOException
      Overrides:
      handleUnknownProperty in class com.fasterxml.jackson.databind.deser.DeserializationProblemHandler
      Throws:
      IOException