Class ConversionServiceConfiguration.ConversionServiceExposingInterceptorConfiguration
java.lang.Object
com.foreach.across.modules.web.config.support.PrefixingHandlerMappingConfigurerAdapter
com.foreach.across.modules.web.config.ConversionServiceConfiguration.ConversionServiceExposingInterceptorConfiguration
- All Implemented Interfaces:
PrefixingHandlerMappingConfigurer
- Enclosing class:
- ConversionServiceConfiguration
@Configuration
@OrderInModule(4)
public static class ConversionServiceConfiguration.ConversionServiceExposingInterceptorConfiguration
extends PrefixingHandlerMappingConfigurerAdapter
Exposes the ConversionService to all prefixing mappers by default.
- Author:
- Arne Vandamme
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(InterceptorRegistry interceptorRegistry) Add one or more interceptors for the mapper.boolean
-
Constructor Details
-
ConversionServiceExposingInterceptorConfiguration
public ConversionServiceExposingInterceptorConfiguration()
-
-
Method Details
-
supports
- Parameters:
mapperName
- Unique name of the mapper (usually module name).- Returns:
- true if this configurer should be applied for that mapper
-
addInterceptors
Description copied from interface:PrefixingHandlerMappingConfigurer
Add one or more interceptors for the mapper.- Specified by:
addInterceptors
in interfacePrefixingHandlerMappingConfigurer
- Overrides:
addInterceptors
in classPrefixingHandlerMappingConfigurerAdapter
- Parameters:
interceptorRegistry
- registry
-