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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
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 classcom.fasterxml.jackson.databind.deser.DeserializationProblemHandler
- Throws:
IOException
-