Class PersistentEntityJackson3Module.AssociationUriResolvingDeserializerModifier
java.lang.Object
tools.jackson.databind.deser.ValueDeserializerModifier
org.springframework.data.rest.webmvc.json.PersistentEntityJackson3Module.AssociationUriResolvingDeserializerModifier
- All Implemented Interfaces:
Serializable
- Enclosing class:
PersistentEntityJackson3Module
public static class PersistentEntityJackson3Module.AssociationUriResolvingDeserializerModifier
extends tools.jackson.databind.deser.ValueDeserializerModifier
A
ValueDeserializerModifier that registers a custom PersistentEntityJackson3Module.UriStringDeserializer for association
properties of PersistentEntitys. This allows to submit URIs for those properties in request payloads, so
that non-optional associations can be populated on resource creation.- Since:
- 5.0
- Author:
- Oliver Gierke, Lars Vierbergen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAdvanced customization of theCreatorPropertyinstances customized to additionally register them with theValueInstantiatorbacking theValueDeserializerModifier. -
Constructor Summary
ConstructorsConstructorDescriptionAssociationUriResolvingDeserializerModifier(PersistentEntities entities, Associations associations, UriToEntityConverter converter, RepositoryInvokerFactory factory) -
Method Summary
Modifier and TypeMethodDescriptiontools.jackson.databind.deser.BeanDeserializerBuilderupdateBuilder(tools.jackson.databind.DeserializationConfig config, tools.jackson.databind.BeanDescription.Supplier beanDesc, tools.jackson.databind.deser.BeanDeserializerBuilder builder) Methods inherited from class tools.jackson.databind.deser.ValueDeserializerModifier
modifyArrayDeserializer, modifyCollectionDeserializer, modifyCollectionLikeDeserializer, modifyDeserializer, modifyEnumDeserializer, modifyKeyDeserializer, modifyMapDeserializer, modifyMapLikeDeserializer, modifyReferenceDeserializer, updateProperties
-
Constructor Details
-
AssociationUriResolvingDeserializerModifier
public AssociationUriResolvingDeserializerModifier(PersistentEntities entities, Associations associations, UriToEntityConverter converter, RepositoryInvokerFactory factory)
-
-
Method Details
-
updateBuilder
public tools.jackson.databind.deser.BeanDeserializerBuilder updateBuilder(tools.jackson.databind.DeserializationConfig config, tools.jackson.databind.BeanDescription.Supplier beanDesc, tools.jackson.databind.deser.BeanDeserializerBuilder builder) - Overrides:
updateBuilderin classtools.jackson.databind.deser.ValueDeserializerModifier
-