use of org.springframework.samples.mvc31.requestcondition.mvc.ExtendedRequestMappingHandlerMapping in project spring-mvc-31-demo by rstoyanchev.
the class WebConfig method requestMappingHandlerMapping.
// Configuration for custom @RequestMapping condition
// See ~.requestcondition package
@Override
@Bean
public RequestMappingHandlerMapping requestMappingHandlerMapping() {
RequestMappingHandlerMapping handlerMapping = new ExtendedRequestMappingHandlerMapping();
handlerMapping.setOrder(0);
handlerMapping.setInterceptors(getInterceptors());
return handlerMapping;
}
Aggregations