Class SortOrderWebAutoConfiguration
java.lang.Object
org.bremersee.comparator.spring.boot.SortOrderWebAutoConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(name={"org.bremersee.comparator.model.SortOrderTextSeparators","org.bremersee.comparator.spring.web.SortOrderHandlerMethodArgumentResolver"})
@AutoConfiguration
@EnableConfigurationProperties(SortOrderConverterProperties.class)
public class SortOrderWebAutoConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The sort order autoconfiguration for webmvc.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new sort order autoconfiguration for webmvc. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers) voidinit()Init.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
SortOrderWebAutoConfiguration
Instantiates a new sort order autoconfiguration for webmvc.- Parameters:
properties- the properties
-
-
Method Details
-
init
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()Init. -
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers) - Specified by:
addArgumentResolversin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-