@Configuration public class SpringBootRepositoryRestMvcConfiguration extends org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
RepositoryRestMvcConfiguration
that applies configuration items
from the spring.data.rest
namespace. Also configures Jackson if it's available
Favor an extension of this class instead of extending directly from
RepositoryRestMvcConfiguration
.
Constructor and Description |
---|
SpringBootRepositoryRestMvcConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.rest.core.config.RepositoryRestConfiguration |
config() |
protected void |
configureJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
alpsConverter, alpsResourceProcessor, annotatedHandlerBeanPostProcessor, backendIdConverterRegistry, backendIdHandlerMethodArgumentResolver, baseUri, basicObjectMapper, configureConversionService, configureExceptionHandlerExceptionResolver, configureHttpMessageConverters, configureRepositoryRestConfiguration, configureValidatingRepositoryEventListener, defaultConversionService, defaultMessageConverters, defaultMethodArgumentResolvers, domainObjectMerger, entityLinks, exceptionHandlerExceptionResolver, fallbackMapping, halJacksonHttpMessageConverter, halObjectMapper, jacksonHttpMessageConverter, jpaHelper, jsonSchemaConverter, metadataConfiguration, objectMapper, pageableResolver, persistentEntities, persistentEntityArgumentResolver, persistentEntityJackson2Module, repoRequestArgumentResolver, repositories, repositoryExporterHandlerAdapter, repositoryExporterHandlerMapping, repositoryInvokerFactory, repositoryRelProvider, resourceDescriptionMessageSourceAccessor, resourceMappings, resourceMetadataHandlerMethodArgumentResolver, serverHttpRequestMethodArgumentResolver, sortResolver, uriListHttpMessageConverter, validatingRepositoryEventListener
addArgumentResolvers, pagedResourcesAssembler, pagedResourcesAssemblerArgumentResolver
addFormatters
addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public SpringBootRepositoryRestMvcConfiguration()
@Bean @ConfigurationProperties(prefix="spring.data.rest") public org.springframework.data.rest.core.config.RepositoryRestConfiguration config()
config
in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
protected void configureJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
configureJacksonObjectMapper
in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.