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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(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:PrefixingHandlerMappingConfigurerAdd one or more interceptors for the mapper.- Specified by:
addInterceptorsin interfacePrefixingHandlerMappingConfigurer- Overrides:
addInterceptorsin classPrefixingHandlerMappingConfigurerAdapter- Parameters:
interceptorRegistry- registry
-