public class PersistentEntityJackson2Module
extends com.fasterxml.jackson.databind.module.SimpleModule
PersistentEntityResources.| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier
A
BeanDeserializerModifier that registers a custom PersistentEntityJackson2Module.UriStringDeserializer for association properties
of PersistentEntitys. |
static class |
PersistentEntityJackson2Module.LookupObjectSerializer |
static class |
PersistentEntityJackson2Module.UriStringDeserializer
Custom
JsonDeserializer to interpret String values as URIs and resolve them using a
UriToEntityConverter. |
| Constructor and Description |
|---|
PersistentEntityJackson2Module(Associations associations,
PersistentEntities entities,
UriToEntityConverter converter,
LinkCollector collector,
RepositoryInvokerFactory factory,
PersistentEntityJackson2Module.LookupObjectSerializer lookupObjectSerializer,
org.springframework.hateoas.server.mvc.RepresentationModelProcessorInvoker invoker,
EmbeddedResourcesAssembler assembler)
Creates a new
PersistentEntityJackson2Module using the given ResourceMappings, Repositories
, RepositoryRestConfiguration, UriToEntityConverter and SelfLinkProvider. |
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versionpublic PersistentEntityJackson2Module(Associations associations, PersistentEntities entities, UriToEntityConverter converter, LinkCollector collector, RepositoryInvokerFactory factory, PersistentEntityJackson2Module.LookupObjectSerializer lookupObjectSerializer, org.springframework.hateoas.server.mvc.RepresentationModelProcessorInvoker invoker, EmbeddedResourcesAssembler assembler)
PersistentEntityJackson2Module using the given ResourceMappings, Repositories
, RepositoryRestConfiguration, UriToEntityConverter and SelfLinkProvider.associations - must not be null.entities - must not be null.converter - must not be null.collector - must not be null.factory - must not be null.lookupObjectSerializer - must not be null.invoker - must not be null.assembler - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.