Code example for WebMvcConfigurationSupport

Methods: resourceHandlerMapping, getInterceptors

0
	} 
 
	@Override 
	public HandlerMapping resourceHandlerMapping ( ) 
	{ 
		SimpleUrlHandlerMapping handlerMapping = (SimpleUrlHandlerMapping) super.resourceHandlerMapping(); 
		handlerMapping.setInterceptors(getInterceptors()); 
		return handlerMapping; 
	} 
 
	@Override 
	public void configureDefaultServletHandling ( DefaultServletHandlerConfigurer configurer ) 
	{ 
		configurer.enable(); 
	} 
 
	@Override 
	public void addResourceHandlers ( ResourceHandlerRegistry registry ) 
	{ 
		ResourceHandlerRegistration resourceHandlerRegistration = registry.addResourceHandler("/**"); 
Contextual code suggestions in your IDE  Get Codota for Java