public class PersistentEntityJackson2Module
extends com.fasterxml.jackson.databind.module.SimpleModule
PersistentEntityResource
s.Constructor and Description |
---|
PersistentEntityJackson2Module(ResourceMappings mappings,
Repositories repositories,
RepositoryRestConfiguration config,
UriToEntityConverter converter)
Creates a new
PersistentEntityJackson2Module using the given ResourceMappings , Repositories
, RepositoryRestConfiguration and UriToEntityConverter . |
Modifier and Type | Method and Description |
---|---|
static boolean |
maybeAddAssociationLink(RepositoryLinkBuilder builder,
ResourceMappings mappings,
PersistentProperty<?> persistentProperty,
List<org.springframework.hateoas.Link> links) |
addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, version
public PersistentEntityJackson2Module(ResourceMappings mappings, Repositories repositories, RepositoryRestConfiguration config, UriToEntityConverter converter)
PersistentEntityJackson2Module
using the given ResourceMappings
, Repositories
, RepositoryRestConfiguration
and UriToEntityConverter
.mappings
- must not be null.repositories
- must not be null.config
- must not be null.converter
- must not be null.public static boolean maybeAddAssociationLink(RepositoryLinkBuilder builder, ResourceMappings mappings, PersistentProperty<?> persistentProperty, List<org.springframework.hateoas.Link> links)
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.