public interface RepositoryRestConfigurer
static RepositoryRestConfigurer withConfig(Consumer<RepositoryRestConfiguration> consumer)
RepositoryRestConfigurer instances that solely want to tweak the
RepositoryRestConfiguration.consumer - must not be null.static RepositoryRestConfigurer withConfig(BiConsumer<RepositoryRestConfiguration,CorsRegistry> consumer)
RepositoryRestConfigurer instances that solely want to tweak the
RepositoryRestConfiguration.consumer - must not be null.default void configureRepositoryRestConfiguration(RepositoryRestConfiguration config, CorsRegistry cors)
config - Main configuration bean.cors - CORS configuration.default void configureConversionService(ConfigurableConversionService conversionService)
conversionService - Default ConversionService bean.default void configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
validatingListener - The ApplicationListener responsible for invoking
Validator instances.default void configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver exceptionResolver)
ExceptionHandlerExceptionResolver.exceptionResolver - The default exception resolver on which you can add custom argument resolvers.default void configureHttpMessageConverters(List<HttpMessageConverter<?>> messageConverters)
HttpMessageConverters by adding your own.messageConverters - The converters to be used by the system.default void configureJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
ObjectMapper directly.objectMapper - The ObjectMapper to be used by the system.default AuditableBeanWrapperFactory customizeAuditableBeanWrapperFactory(AuditableBeanWrapperFactory factory)
AuditableBeanWrapperFactory to be used.factory - will never be null.default LinkCollector customizeLinkCollector(LinkCollector collector)
LinkCollector to be used.collector - will never be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.