List of usage examples for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage
From source file br.com.joaops.awc.configuration.WebConfig.java
/**
*
* @author Joo Paulo
*/
@Configuration
@EnableWebMvc
From source file com.cami.spring.web.WebConfig.java
/**
*
* @author samuel
*/
@Configuration
@EnableWebMvc
From source file com.castlemock.war.config.MvcConfig.java
/**
* The MvcConfig class is responsible for configuring the MVC related configurations
* @author Karl Dahlgren
* @since 1.0
*/
@EnableWebMvc
From source file comsat.sample.ui.secure.SampleWebSecureCustomApplication.java
@FiberSecureSpringBootApplication // This will enable fiber-blocking @Controller public class SampleWebSecureCustomApplication extends WebMvcConfigurerAdapter { @RequestMapping("/") public String home(Map<String, Object> model) throws InterruptedException, SuspendExecution { Fiber.sleep(10);
From source file com.github.viktornar.configuration.ApplicationConfig.java
/**
* Main application configuration.
*
* @author v.nareiko
*/
@Configuration
From source file sample.mvc.config.WebMvcConfiguration.java
/**
* Configuration for Spring MVC.
*
* @author Rob Winch
*
*/
From source file com.devnexus.ting.config.WebConfig.java
/**
*
* @author Gunnar Hillert
*
*/
@Configuration
From source file com.jhkt.playgroundArena.examples.generic.etcetera.WebConfig.java
/**
* By providing the below annotations RequestMappingHandlerMapping, a RequestMappingHandlerAdapter, and an ExceptionHandlerExceptionResolver
* (among others) in support of processing requests with annotated controller methods using annotations such as @RequestMapping , @ExceptionHandler, and others
* are registered. Also various other components are enabled [too many to list, check out the Spring documentation for specifics]. In fact if you open
* @EnableWebMvc you can see the @Import statement.
*
From source file com.alehuo.wepas2016projekti.configuration.ProductionConfiguration.java
/**
* Kehitysympristn konfiguraatio
*
* @author alehuo
*/
@Configuration
From source file com.javaetmoi.sample.config.WebMvcConfig.java
@Configuration @EnableWebMvc @ComponentScan(basePackages = { "com.javaetmoi.sample.web" }) public class WebMvcConfig extends WebMvcConfigurerAdapter { private static final int CACHE_PERIOD = 31556926; // one year