@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) |
addResourceHandlers, alpsConverter, alpsResourceProcessor, annotatedEventHandlerInvoker, auditableBeanWrapperFactory, backendIdConverterRegistry, backendIdHandlerMethodArgumentResolver, baseUri, basicObjectMapper, configureConversionService, configureExceptionHandlerExceptionResolver, configureHttpMessageConverters, configureRepositoryRestConfiguration, configureValidatingRepositoryEventListener, defaultConversionService, defaultMessageConverters, defaultMethodArgumentResolvers, domainObjectMerger, entityLinks, eTagArgumentResolver, exceptionHandlerExceptionResolver, halJacksonHttpMessageConverter, halObjectMapper, jacksonHttpMessageConverter, jpaHelper, jsonSchemaConverter, metadataConfiguration, objectMapper, pageableResolver, persistentEntities, persistentEntityArgumentResolver, persistentEntityJackson2Module, repoRequestArgumentResolver, repositories, repositoryExporterHandlerAdapter, repositoryInvokerFactory, repositoryRelProvider, repositoryRestExceptionHandler, resourceDescriptionMessageSourceAccessor, resourceMappings, resourceMetadataHandlerMethodArgumentResolver, restHandlerMapping, serverHttpRequestMethodArgumentResolver, sortResolver, uriListHttpMessageConverter, uriToEntityConverter, validatingRepositoryEventListener
addArgumentResolvers, pagedResourcesAssembler, pagedResourcesAssemblerArgumentResolver
addFormatters
addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureCors, 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.