public static class PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier
extends com.fasterxml.jackson.databind.deser.BeanDeserializerModifier
BeanDeserializerModifier
that registers a custom PersistentEntityJackson2Module.UriStringDeserializer
for association properties
of PersistentEntity
s. This allows to submit URIs for those properties in request payloads, so that
non-optional associations can be populated on resource creation.Constructor and Description |
---|
AssociationUriResolvingDeserializerModifier(org.springframework.data.mapping.context.PersistentEntities entities,
Associations associations,
UriToEntityConverter converter,
org.springframework.data.repository.support.RepositoryInvokerFactory factory) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.deser.BeanDeserializerBuilder |
updateBuilder(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.BeanDescription beanDesc,
com.fasterxml.jackson.databind.deser.BeanDeserializerBuilder builder) |
modifyArrayDeserializer, modifyCollectionDeserializer, modifyCollectionLikeDeserializer, modifyDeserializer, modifyEnumDeserializer, modifyKeyDeserializer, modifyMapDeserializer, modifyMapLikeDeserializer, modifyReferenceDeserializer, updateProperties
public AssociationUriResolvingDeserializerModifier(org.springframework.data.mapping.context.PersistentEntities entities, Associations associations, UriToEntityConverter converter, org.springframework.data.repository.support.RepositoryInvokerFactory factory)
public com.fasterxml.jackson.databind.deser.BeanDeserializerBuilder updateBuilder(com.fasterxml.jackson.databind.DeserializationConfig config, com.fasterxml.jackson.databind.BeanDescription beanDesc, com.fasterxml.jackson.databind.deser.BeanDeserializerBuilder builder)
updateBuilder
in class com.fasterxml.jackson.databind.deser.BeanDeserializerModifier
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.